Bluehost.com Web Hosting $6.95

Re: [PHP] Retrieve key from $_POST

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 &...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2004
John W. Holmes
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 01-06-2004
Robin Kopetzky
 
Posts: n/a
Default RE: [PHP] Retrieve key from $_POST

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0