This is a discussion on Re: [PHP] Retrieve key from $_POST within the PHP General forums, part of the PHP Programming Forums category; Robin Kopetzky wrote: > Is there any way to retrieve a key value from $_POST when there is more than &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
Reworked the code and used an 'Input TYPE="button"' and fixed the problem.
Thanks to all who replied. Amazing isn't it, that as we grow older the brain slowly turns into mush... Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 |