--- "Ford, Mike" <[EMAIL PROTECTED]> wrote:
> AARRGGHHH! Vague, generalized, woolly!!
>
> SHOW US the relevant bits of code. SHOW US what you
> get printed out,
> especially anything that isn't what you expect, and
> tell us exactly what you
> did expect.
> SPECIFICS, man, SPECIFICS!!
>
> SHOW US the form -- we can't even begin to guess
> what data your script will
> see without knowing what the form says. Preferably
> tell us *exactly* what
> each control on the form was set to when you
> submitted it.
Each element takes the user input and passes it on to
the results page. What I also want though it to put
the querystring back into the search page and have the
elements echo out the values chosen.
Let me demonstrate with one element:
<td><form name="form1" id="form1" method="get"
action="">
<select name="Ind[]" size="8" multiple="multiple"
id="Ind[]">
<?php while($row = mysql_fetch_array($inds,
MYSQL_BOTH)) {echo '<option
value="'.$row['CareerIDs'].'">'.$row['CareerCategories'].'</option>';
} ?>
Now what I've added: $Ind = $_POST['Ind'];
>
> > $queryString = ($_SERVER['QUERY_STRING']);
>
> What is in $queryString after this? var_dump() it
> and show us the result.
This is the var_dump of the query string after I've
made some selections in the page.
string(80)
"Ind%5B%5D=2&Ind%5B%5D=3&Ind%5B%5D=4&JTitle=Web&City=&Days=&Recs=15&Submit=Submit"
> Is it what you expect? If not, what *did* you
> expect?
Yes, this is what I expect.
> What is in $_POST before you start the next batch of
> assignments? var_dump()
Nothing is printing out on $_POST['var'] or $var
s makes sense.
I hope this is clearer with more relevant information.
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php