Re: Question on query string
| From: | Stuart Felenstein | Date: | Tue, 16 Nov 2004 16:28:09 +0000 |
| Subject: | Re: Question on query string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202176@lists.php.net to get a copy of this message | ||
--- Richard Davey <rich@launchcode.co.uk> wrote:
> Use urldecode() to get them back to "normal" again.
Changed the form action line to this:
action="searchresults.php?Ind=<?php echo
urldecode(((isset($_POST["Ind[]"]))?$_POST["Ind[]"]:""))
Still getting this:
?Ind%5B%5D=1&Ind%5B%5D=2&Ind%5B%5D=3
I'm under the assumption the values get passed from
search.php using urldecode() to searchresults.php.
Maybe that is not the case.
Or should I do a $_GET['Ind'] = urlencode('Ind') on
searchresults.php ?
Stuart