RE: [PHP] Retrieving array_keys from $_POST
| From: | John W. Holmes | Date: | Thu, 22 May 2003 23:12:32 +0000 |
| Subject: | RE: [PHP] Retrieving array_keys from $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148652@lists.php.net to get a copy of this message | ||
> How would I retrieve a list of the array_keys from the $_POST array ?
I
> have a form that ive created with multiple fields.
>
> I would like to pull the names of the fields and echo them.
Hmmm.. maybe you could use the array_keys() function? I'm just throwing
out wild guesses here and I could be totally off base. Hell, I don't
search the manual, either. :)
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/