for example, if i have three submit buttons, submit1, submit2, submit3, in a form. and depends on which button is clicked the action will be different.
in php
i will simply use
if (isset($POST['submit1']))
{
}
elseif (isset($POST['submit2']))
{
}
elseif (isset($_POST['submit3']))
{
}
This will work if these three submit buttons are regular form submit buttons. But if I am using image button as the submit buttons, then the above php codes are not working.
So how php to tell which image button is clicked? Thanks!