print(); and html
Date: 06/15/05
(PHP Community) Keywords: html
Which question should I ask first?
1.) Is there a list of characters that need to be escaped so I dont' have to ask these stupid questions anymore?
2.) I want to use print(); to set a variable, the variable is a bunch of html so there is spaces, and carriage returns, etc. I get an error:
Parse error: parse error, unexpected '<' in /path/to/search.php on line 3
Any ideas? I assume it's the opening of the html tag.
Source: http://www.livejournal.com/community/php/307405.html