RE: [PHP] Re: & in Query String
| From: | Jonathan Rosenberg \(Tabby's Place\) | 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
> & yourself, like this:
> <a HREF="show_pic.php?pic=blah&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 '&' -> '&' 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 '&' to separate arguments on the
query string, how do they get separated out for access via $_GET?
> --
--
JR