RE: [PHP] Retrieve key from $_POST
| From: | Vail, Warren | Date: | Tue, 06 Jan 2004 00:59:42 +0000 |
| Subject: | RE: [PHP] Retrieve key from $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173802@lists.php.net to get a copy of this message | ||
is an "<INPUT TYPE=img" actually an input? I've never actually seen it used
that way. If not that may explain difficulty finding it in $_POST array.
Warren Vail
-----Original Message-----
From: John W. Holmes [mailto:holmes072000@charter.net]
Sent: Monday, January 05, 2004 4:49 PM
To: Robin Kopetzky
Cc: PHP General
Subject: Re: [PHP] Retrieve key from $_POST
Robin Kopetzky wrote:
> Is there any way to retrieve a key value from $_POST when there is more
than
> one $_POST array entry?
> I'm trying to retrieve the name of an 'INPUT TYPE="image"' control
> with
HTML
> because you can't pass a value back. I need to get the name of the control
> to use in a 'switch' statement.
array_search()??
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals - www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php