FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP problems.





CanadianGeek
I'm having some issues with PHP. I made a script that allows users to post comments to an article that I put on my website. Then I changed the script so that HTML characters would be parsed. Then I got the error "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/leftwing/domains/leftwing.ca/public_html/editorials/e00.php on line 39". Well, I checked the script and the line in question didn't even have PHP code in it. So I deleted the additions I made to the script and I got the exact same error. I checked line 39 again and this time there wasn't even any HTML code in the line. Is this normal if I've screwed up something in the script? And if so, does anyone have any ideas as to what I should look for to fix it?
coreymanshack
check for html qoutes... they interfere with php coding....

escape quotes like this... <img src=\"bob.gif\" height=\"10px\"/>
Rhysige
Post a few lines above and below that section so we can check it over.
Related topics
Site not found
[tutor] How to protect images without htaccess using PHP
How to get your dynamic PHP website crawled better by se ?
How To : Improve Your PHP Programming
If you need help with php-nuke
Easy PHP installation
PHP script has MSQL access denied
Uploading problems
MESSAGE BOARD??
WHat is the best PHP guidebook?
Problems with php
Recent PHP problems
some AJAX/PHP problems...
Wordpress xmlrpc.php problems
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.