--- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
 
> The main problem with the above snippet that I can
> see is that there's very
> unlikely to be such a thing as $_POST["Ind[]"] --
> form fields with
> name="Ind[]" will turn up as an array in
> $_POST["Ind"] ($_POST["Ind"][0],
> $_POST["Ind"][1], etc.).  But the whole snippet
> looks very odd -- why are
> you trying to pass POSTed values as GET variables on
> (I presume) a form
> action??  Can you post a little context to the list
> to give us some idea
> what you're really trying to do.

Mike - 
Not sure what context would be useful.  The form
action is set to $_GET method.  I should have noticed
POST in there but set those urldecodes via Dreamweaver
bindings.  If you know what those are. Originally the
form was $_POST.  Now -  method="get"  
The search.php form really does nothing with the
arrays.  In searchresults.php I am grabbing the
variables like this:

$HTTP_GET_VARS['Ind']
if (count($Ind) > 0 AND is_array($Ind)) {
    $s_Ind = "'".implode("','", $Ind)."'";

Stuart

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

Reply via email to