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)

Preferred Member

10+ Year Member

joined:Mar 4, 2004
votes: 0

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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 15, 2004
votes: 0

:) 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 }



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members