Re: Question:maybe urldecode
| From: | Jason Wong | Date: | Fri, 10 Dec 2004 17:04:07 +0000 |
| Subject: | Re: Question:maybe urldecode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203939@lists.php.net to get a copy of this message | ||
On Saturday 11 December 2004 00:19, Stuart Felenstein wrote:
> <td><form name="form1" id="form1" method="get"
OK, you're telling the form to use the GET method ...
> > > $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"
... so your form values are passed in the request URL, looks good.
> > 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.
Now why are you looking in $_POST for your form values? They're in $_GET. You
said earlier that you understood POST and GET?
> I hope this is clearer with more relevant information.
Yes, much better, concrete data and sequence of events are the kind of
information what we need.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
*/