Re: Question on query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Richard Davey <rich@xxxxxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux