Re: [PHP] picking up a form name

2003-12-18 Thread Website Managers.net
Give your forms unique names. -- form page -- -- whatever.php -- if ($_POST["form1"] == "Submit") { do something;} elseif ($_POST["form2"] == "Submit") { do something else;} elseif ($_POST["form3"] == "Submit") { do something creative;} else { die("no form submitted"); Jim - Original Mes

Re: [PHP] picking up a form name

2003-12-18 Thread David T-G
Craig -- ...and then php said... % % Hi, Hi! % % If I have more than one form on a page, how can I get the % name of the form that was sent on the recieving page % without using javascript? 1) What's a form name? 2) Whatever it is, I suppose you could embed it in a hidden field. 3) Name