Re: [PHP] using custom "button" instead of standard "submit" form element

2003-01-29 Thread 1LT John W. Holmes
> Note that when submitted, this will make a variable $parent_x and $parent_y with register_globals ON and $_POST['parent_x'] and $_POST['parent_y'] with it off (or $_GET or $_REQUEST, whatever you use). ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] using custom "button" instead of standard "submit" form element

2003-01-29 Thread Ernest E Vogelsinger
At 10:08 29.01.2003, Justin French said: [snip] >The W3.org site is down at the moment, so I can't confirm this, but I'm >pretty sure... > > AFAIR -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP

[PHP] using custom "button" instead of standard "submit" form element

2003-01-29 Thread Durwood Gafford
I can't figure out how to tell which button was pressed by a user when i'm using a "button" instead of a standard "submit" form element. This works: $parent will equal "foo" This doesn't work: $parent will equal " NOT "foo" How do I get the value of "foo" to be returned in $parent and still