Re: Question on query string

From: Date: Tue, 16 Nov 2004 14:35:42 +0000
Subject: Re: Question on query string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202145@lists.php.net to get a copy of this message
On November 16, 2004 09:06, Stuart Felenstein wrote: > Why is each value preceeded by the %5B%5D ? I think > the % is for wildcards, but for the life of me can't > figure out what 5B and 5D stand for. > > Ind%5B%5D=2&Ind%5B%5D=3&Ind%5B%5D=4&Ind%5B%5D=5.......... Stuart, The % is an escape character to let the browser know that the character isn't allowed in a URL. The browser then looks at the next 2 characters as a hex code for the ASCII character which should be there. So for %5B, it really is '[', and %5D really is ']'. You can see what all the ASCII codes are here: http://www.asciitable.com/ HTH -- Regards, David Bevan We could learn a lot from crayons: some are sharp, some are pretty, some are dull, some have weird names, and all are different colors....but they all exist very nicely in the same box. http://www.getanyideas.com

« previous php.general (#202145) next »