note 14198 modified in language.variables.predefined by philip
| From: | philip@php.net | Date: | Mon, 03 Sep 2001 21:42:41 +0000 |
| Subject: | note 14198 modified in language.variables.predefined by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17581@lists.php.net to get a copy of this message | ||
For newbies : You can get all field names and values by looping on $HTTP_POST_VARS or
$HTTP_GET_VARS., here's one way :
while(list($key, $val) = each($HTTP_POST_VARS)) {
echo "$key:: $val <br>";
}
To quickly view them (like with any array), consider print_r() :
print_r($HTTP_POST_VARS);
http://www.php.net/manual/en/language.variables.predefined.php