Re: [PHP] Loop Through all Querystring Variables

2001-01-24 Thread Philip Olson
Assuming you are using GET (since you have a QUERY_STRING in url) : foreach ($HTTP_GET_VARS as $key => $value) { print "$key is $value \n"; } For form you can use POST and loop through HTTP_POST_VARS too. These are predefined variables : http://www.php.net/manual/en/lan

Re: [PHP] Loop Through all Querystring Variables

2001-01-24 Thread Steve Edberg
At 3:07 PM -0700 1/24/01, Karl J. Stubsjoen wrote: >What is the simplest way to set up a procedure to loop through all passed >querystring values and/or form values? > >I'm very new to PHP, and don't know how to set up loops at all. > reset($HTTP_GET_VARS); while (list($VariableName, $VariableVal

[PHP] Loop Through all Querystring Variables

2001-01-24 Thread Karl J. Stubsjoen
What is the simplest way to set up a procedure to loop through all passed querystring values and/or form values? I'm very new to PHP, and don't know how to set up loops at all. Thanks! Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi