Welcome to WebmasterWorld Guest from 54.144.206.214

Forum Moderators: coopster & jatar k

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 }

Habtom

 

Featured Threads

Hot Threads This Week

Hot Threads This Month