Re: [PHP] grabbing variables from the query string

2001-04-28 Thread Philip Olson
if register_globals setting is on (in php.ini) then $foo will be available, otherwise use the predefined variable HTTP_GET_VARS : index.php?foo=blah print $foo; print $HTTP_GET_VARS['foo']; http://www.php.net/manual/en/language.variables.predefined.php http://www.php.net/manual/en

RE: [PHP] grabbing variables from the query string

2001-04-28 Thread PHPBeginner.com
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&quo

[PHP] grabbing variables from the query string

2001-04-28 Thread Jamie Saunders
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 fin