grabbing variables from the query string
| From: | Jamie Saunders | Date: | Sat, 28 Apr 2001 15:59:34 +0000 |
| Subject: | grabbing variables from the query string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50762@lists.php.net to get a copy of this message | ||
Hi,
How do you grab variables from a query string in a URL?
I've used this with ASP and it would be done as follows:
firstName = request.querystring("fName")
I've tried different variations of this in my PHP pages but I can't seem to get it to work. I've looked in the PHP manual but can't find any information relating to the query string.
Thanks.
Jamie Saunders
Mail: webprogramming@jamie-s.co.uk
Web: http://jamie-s.co.uk