Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Multiple Forms, Same Page



2:23 am on Apr 19, 2006 (gmt 0)

10+ Year Member

I have about 3 forms on the same page, they will also be submitting to that page, how can I defere between the forms safely when one is submitted?


3:45 am on Apr 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

:) Give different names to your submit buttons, and when the page is submitted write something like:

if isset($_REQUEST['submit1']) { do this }
if isset($_REQUEST['submit2']) { do second }
if isset($_REQUEST['submit3']) { do third }



Featured Threads

Hot Threads This Week

Hot Threads This Month