RE: [PHP] Retrieve key from $_POST

2004-01-05 Thread Robin Kopetzky
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 -- PHP General Mailing List (http://ww

Re: [PHP] Retrieve key from $_POST

2004-01-05 Thread John W. Holmes
Vail, Warren wrote: is an "It is, but you end up with two variables. If you name it "img" for example, you'll have $_POST['img_x'] and $_POST['img_y']. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.

RE: [PHP] Retrieve key from $_POST

2004-01-05 Thread Vail, Warren
nt: Monday, January 05, 2004 5:00 PM To: '[EMAIL PROTECTED]'; Robin Kopetzky Cc: PHP General Subject: RE: [PHP] Retrieve key from $_POST is an "mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:49 PM To: Robin Kopetzky Cc: PHP General Subject: Re: [PHP] Retrieve key from $_POST Ro

RE: [PHP] Retrieve key from $_POST

2004-01-05 Thread Vail, Warren
is an "mailto:[EMAIL PROTECTED] 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? >

Re: [PHP] Retrieve key from $_POST

2004-01-05 Thread John W. Holmes
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' st

Re: [PHP] Retrieve key from $_POST

2004-01-05 Thread Richard Davey
Hello Robin, Tuesday, January 6, 2004, 12:31:24 AM, you wrote: RK> Is there any way to retrieve a key value from $_POST when there is more than RK> one $_POST array entry? Do this: echo ""; print_r($_POST); echo ""; If you can see it, you can retrieve it. Otherwise, you can't. -- Best regard