Please help with Parse Error
Moderator: General Moderators
Please help with Parse Error
My error keep occuring after the very last line of code no matter what I do. The error reads
Parse error: parse error in /home/webtemp/public_html/new/template.php on line 350
On line 349 is the last actual line of code ending the html block </html>
Does anyone have any ideas of what might be happening.
Matt
Parse error: parse error in /home/webtemp/public_html/new/template.php on line 350
On line 349 is the last actual line of code ending the html block </html>
Does anyone have any ideas of what might be happening.
Matt
Mine's got a simliar error and I can't work it out.
Check this out please:-
http://www.ticktaku2000.com/articles.php
Check this out please:-
http://www.ticktaku2000.com/articles.php
Takuma, do you have a $ you are trying to echo? like:
If so, you need to escape that $ making it:
this goes for prints and any other place where you have a $ and it's not meant as part of a variable...
Code: Select all
<?
echo "$5.00";
?>Code: Select all
<?
echo "\$5.00";
?>- James Pelow
- Site Admin
- Posts: 51
- Joined: Sat Jun 01, 2002 5:28 am
- Location: Killiney, Co. Dublin, Ireland
- Contact:
Reply
Unexpected $ usually happens to me when I copy code out of one Encoding into a new encoding. Replace all the whitespaces and line breaks with new ones - or pinpoint it by displaying as source (.phps file).
-James
-James