RE: [PHP] grabbing variables from the query string
| From: | PHPBeginner.com | Date: | Sat, 28 Apr 2001 17:06:18 +0000 |
| Subject: | RE: [PHP] grabbing variables from the query string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50765@lists.php.net to get a copy of this message | ||
try:
echo $fName;
they are loaded in the page automatically.
or..
loop HTTP_GET_VAR
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Jamie Saunders [mailto:webprogramming@jamie-s.co.uk]
Sent: Sunday, April 29, 2001 1:00 AM
To: php-general@lists.php.net
Subject: [PHP] grabbing variables from the query string
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net