Page 1 of 1

Which form sent the data?

Posted: Thu Sep 03, 2009 1:22 pm
by jewelthief
Hello!

I have 2 forms in one html page with same action="abc.php" property. How can i find in abc.php that which form sent the data?

any help would be appreciated.

Re: Which form sent the data?

Posted: Thu Sep 03, 2009 1:41 pm
by phaeton
Add a hidden field to the forms to indicate which form it was.

Re: Which form sent the data?

Posted: Thu Sep 03, 2009 2:03 pm
by jewelthief
thanks. done.