RE: [PHP] Re: & in Query String

From: Date: Tue, 26 Nov 2002 16:00:03 +0000
Subject: RE: [PHP] Re: & in Query String
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126112@lists.php.net to get a copy of this message
In an earlier message, Derick Rethans [mailto:derick@php.net] said ... > Yes it is. Actually, you should specify the URL with the > &amp; yourself, like this: > <a HREF="show_pic.php?pic=blah&amp;caption=Some+Text"> > otherwise it is not valid HTML. I understand that using '&' is technically not correct HTML. But I don't see how changing the '&' -> '&amp;' solves my problem. But just to be sure I tried it. Sure enough, this caused the error to occur. I'm missing something here. If you use '&amp;' to separate arguments on the query string, how do they get separated out for access via $_GET? > -- -- JR

« previous php.general (#126112) next »