I have a page web with 2 ways to submit the data.
The first one is attach with a select box with the 'onChange' events
the other is with a submit button
I would like to know which one was use (the select box or the bubmit button) with php code.
Thks
Printable View
I have a page web with 2 ways to submit the data.
The first one is attach with a select box with the 'onChange' events
the other is with a submit button
I would like to know which one was use (the select box or the bubmit button) with php code.
Thks
It makes no difference to PHP how you have submitted the form. The end result is always the same. However, I would advise that you include a submit button too, as the onchange event relies on Javascript being enabled.
So I must conclude that we can't determine which one submitted the php validation file isn't it?Quote:
It makes no difference to PHP how you have submitted the form. The end result is always the same
Thanks for the answer, I'll look for a turn around for my problem.