I have a pre-made template and have inadvertently messed something up when trying to add a favicon link. I've googled what I can and tried several corrections but fear I have made things worse...please can someone come to my assistance at all?

The page says
Parse error: syntax error, unexpected T_STRING in /home/flyagdei/public_html/templates/lingerie_4/main_page.tpl.php on line 24


and the code is as follows

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html <?php echo HTML_PARAMS; ?>>

<head>
<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATE_STYLE; ?>">

<? if(SHOW_PAGE_LOAD_FOOTER == 'true'){

// Insert at the very top of your page

">

$time = microtime();

$time = explode( $time);

$time = $time[1] + $time[0];

$start = $time;

{ ?>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

Many thanks
Jo

The { at the end, before the ?> should be }.

Hi many thanks for that help but it does'nt seem to have worked...the loaded page is still saying the same thing arghhhhh!
Jo

// Insert at the very top of your page

">  <------  remove this broken  tag

and check the mentioned closing bracket.

Thanks djjjozsi I seem to be getting somewhere !:)
I have the site back up but at the top of the page it says

//
Warning: Wrong parameter count for explode() in /home/flyagdei/public_html/templates/lingerie_4/main_page.tpl.php on line 15

which is this bit $time = explode( $time);

Any more ideas?
Thanks again guys
Jo

Thanks djjjozsi I seem to be getting somewhere !:)
I have the site back up but at the top of the page it says

//
Warning: Wrong parameter count for explode() in /home/flyagdei/public_html/templates/lingerie_4/main_page.tpl.php on line 15

which is this bit $time = explode( $time);

Any more ideas?
Thanks again guys
Jo

Yeah, here's an idea, go read the documentation for explode . php.net/explode

Thank you, will do.
Cheers again for the help.
Jo

$time = microtime();
$time = explode(" ", $time);

$time = $time[1] + $time[0];
$start = $time;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.