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

« EvilWalrus.com || Adding to a date »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home