Re: W3C and PHP

From: Date: Sat, 09 Nov 2002 16:43:18 +0000
Subject: Re: W3C and PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-123592@lists.php.net to get a copy of this message
>> ... <a href="nav.php?page=about&section=Linux"><font >> color="#256 ... >> ^ >>Error: unknown entity "section" > If this is really what the W3C validator tells you you should file a bug > report, IMHO. Passing GET variables should be valid HTML ;-) Usually entities start with "&" and end with ";". The "entity" &section doesn't end with ";" and is not defined, that's why it's not valid. Jens PS: Be aware of not writing something like header("Location: script.php?foo1=a&amp;foo2=b"); or use $amp; in mails, which are send thorugh the PHP- mail-function.

« previous php.general (#123592) next »