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)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Jamie Saunders [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 1:00 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to