RE: [PHP] What's in my array
| From: | Dave Watkinson | Date: | Wed, 10 Oct 2001 14:09:07 +0000 |
| Subject: | RE: [PHP] What's in my array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70668@lists.php.net to get a copy of this message | ||
while (list($var, $value) = each($HTTP_POST_VARS)) {
echo "$var = $value<br>\n";
}
this is actually in the FAQ on php.net
-----Original Message-----
From: Don [mailto:don@lclcan.com]
Sent: 10 October 2001 15:15
To: php list
Subject: [PHP] What's in my array
I have a form that posts to a PHP script. In my script, I decode the
vars with the line:
$form = $http_post_vars;
From the $form array (or hash) , is there a way to determine what my
post variable names are?
Thanks,
Don