RE: [PHP] Escaping Characters

From: Date: Wed, 25 Apr 2001 14:05:49 +0000
Subject: RE: [PHP] Escaping Characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50297@lists.php.net to get a copy of this message
" double quotes ' single quotes (yes, they are used quite often) \ backslash (JavaScripts etc.) there are your enemies, nothing else. forget about + = & $ ... Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Wade [mailto:wwilliams@myoptionvalue.com] Sent: Wednesday, April 25, 2001 8:47 PM To: php-general@lists.php.net Subject: [PHP] Escaping Characters Aside from " (quotes), which HTML characters should be preceded with a \ (backslash) to avoid parsing errors? I have the following, which I have in an .inc file outside my web root. I have tried sticking the \ in front of the # (pound) and the = (equal) -- not out of any reason, but more out of frustration. I have been sticking dropdown menu in inc files with no troubles, but this is the first table I've tried to stick in there. I'm trying not to ask questions here until after trying to find an answer in PHP.net, but I've had no luck on this one. <? <table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\"> <tr bgcolor=\"#ebebd6\"> .... ?> Much Thanks, Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#50297) next »