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?
PHP problems.
check for html qoutes... they interfere with php coding....
escape quotes like this... <img src=\"bob.gif\" height=\"10px\"/>
escape quotes like this... <img src=\"bob.gif\" height=\"10px\"/>
Post a few lines above and below that section so we can check it over.
