Hi, I have a form using POST which has 3 buttons in it. In the php page that it calls I can't find which button has been pushed (warning newbie).
I'm using
if ($_POST['button_name'])
and that works works if "button_name" is the button I pushed but referring to the other buttons gets me an error.
Basically how can I discover which of several submit buttons on a form has been pushed? (is submit the wrong type?)
Thanks for any help
I'm really not in management but I can't change my profile (I'm a programmer)
I'm using
if ($_POST['button_name'])
and that works works if "button_name" is the button I pushed but referring to the other buttons gets me an error.
Basically how can I discover which of several submit buttons on a form has been pushed? (is submit the wrong type?)
Thanks for any help
I'm really not in management but I can't change my profile (I'm a programmer)