Switch Form
| From: | Lancer Emotion 16 | Date: | Tue, 01 Feb 2005 20:09:11 +0000 |
| Subject: | Switch Form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207853@lists.php.net to get a copy of this message | ||
Hi list,I have 2 forms :
<form name='form1' action='page.php' method='Post'>
</form>
<form name='form2' action='page.php method='Post''>
</form>
Now, in page.php is possible to do a switch of form name? Something like this :
Switch ($_POST['form'] {
'form1' : ...
'form2' : ...
}
If this is possible,i dont know how to call it, can you help me please?
Thanks in advance.
--
lancer emotion 16