Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
immediate help required!!!!!!!
Old 08-27-2004, 03:49 PM immediate help required!!!!!!!
Average Talker

Posts: 23
Trades: 0
Anyone got any idea why do i keep getting this error ? It works fine when its it html format but as soon i convert the html file into php it gives these errors :

Parse error: parse error, unexpected '}' in /home/millskin/public_html/voodoox/index.php on line 214

Parse error: parse error, unexpected '}' in /home/millskin/public_html/voodoox/index 1.php on line 194

LINE 194>>>>>>> <div align="left" style="width: 130; height: 30">
<font color="#496C87">
<font size="1" face="Comic Sans MS">&gt;</font><!--webbot bot="HTMLMarkup" startspan --><font face=\"Tahoma\" size="1"><script language="JavaScript">ShowDateTime(showTime)</script><!--webbot bot="HTMLMarkup" endspan i-checksum="65039" --><br>
<font size="1" face="Comic Sans MS">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;&lt;&lt;&lt;&lt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt;&gt;&gt;&gt;</font></font><b><font color="#496C87"><br>
</font>
<font face="mini" size="1">Site Statistics<!--webbot bot="HTMLMarkup" startspan --><?

?><!--webbot bot="HTMLMarkup" endspan i-checksum="3562" -->:</font></b><font color="#496C87"><font size="1" face="Comic Sans MS"><br>
</font><font size="1"><font face="Comic Sans MS">&gt;</font><font face="Tahoma">Total
Hitz : <?addHit();?><br>
</font><font face="Comic Sans MS">&gt;</font><font face="Tahoma">Today's
Hitz : <?hrTotal(24);?><br>
</font><font face="Comic Sans MS">&gt;</font><font face="Tahoma">Total
Unique Hitz : <?addUnique();?><br>
</font><font face="Comic Sans MS">&gt;</font><font face="Tahoma">Today's
Unique Hitz :</font> <?hrUnique(24);?></font><br>
<font face="Comic Sans MS" size="1">&gt;<!--webbot bot="HTMLMarkup" startspan --><?php list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
LINE 214 >>>>>>>>>>> $time_start = getmicrotime();
for ($i=0; $i <1000; $i++){
}
$time_end = getmicrotime();
$time = $time_end - $time_start;
$time = round($time,4);
echo "Loaded In : $time seconds.";




Plz help me out!!!
unstopabl3 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-27-2004, 04:03 PM
Unknown.

Posts: 1,693
Trades: 0
Its usually an error on the line before the number it gives you...

So for the second error you just need to delete the } from the line before...

<font face="Comic Sans MS" size="1">&gt;<!--webbot bot="HTMLMarkup" startspan --><?php list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}<<Delete
LINE 214 >>>>>>>>>>> $time_start = getmicrotime();
for ($i=0; $i <1000; $i++){
}

And the first one should be the same.. Just delete the } from the line before..

Hope this helps

--James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to immediate help required!!!!!!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85232 seconds with 12 queries