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
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
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
3 matches
Mail list logo