note 16865 deleted from language.basic-syntax by jimw

From: Date: Sat, 15 Dec 2001 22:19:27 +0000
Subject: note 16865 deleted from language.basic-syntax by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22862@lists.php.net to get a copy of this message
Beware of ASP style tags as they are immune to comment. So if you have something like: // $t = '<TABLE WIDTH=100%>'; the final part of the 100% is interpreted as the PHP closing tag even if it's commented out. [Ed. note - The correct way to deal with this is to quote your attributes. To wit: <TABLE WIDTH=100%> is incorrect; <TABLE WIDTH="100%"> is correct. For a full explanation, see http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2; suffice it to say here that if your attribute value contains anything besides [-_.:0-9A-Za-z], you must quote it.]

« previous php.notes (#22862) next »