I created two type=submit buttons inside php file in the html section.
I am having trouble setting the actions for each button.
Is it even possible to have more than one submit button on a form (in a php file with post action processing done inside the same file ?
I am trying to access each button as:
[php]
if(!empty($_POST[‘button1’])) {do something}
if(!empty($_POST[‘button2’])) {do something else}
[/php]
Does this have a chance to work ?