Re: Re: & in Query String

From: Date: Tue, 26 Nov 2002 17:14:41 +0000
Subject: Re: Re: & in Query String
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-126133@lists.php.net to get a copy of this message
At 16:54 26.11.2002, Erwin spoke out and said: --------------------[snip]-------------------- >> Actually, you should specify the URL with the &amp; >> yourself, like this: >> >> <a HREF="show_pic.php?pic=blah&amp;caption=Some+Text"> > >Of course not...this is a HREF tag, which can use & instead of &amp;. &amp; >is for displaying purposes only, not for URL's. Nope. As I just learnt from this list it _is_ valid to specify a query string using &amp; as delimiter - it will be resolved by the browser the same way as it is when it gets displayed. Actually this is the only way to create W3C-compliant query strings. Just check with the W3C HTML Validator: http://validator.w3.org/ -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#126133) next »