Submit one form one button to two different action file ?
Posted on 2008-06-09
I have a sample form per say myform, when I slick submit button I want the file be process by two different action files (insertrecord.php, insertrecord2.php). Here is the sample code :
/** sample code */
<form action="process1.php" action="process2.php" name="myform"> # !!!! pay attention here
<input type="text" name="First_Name">
<input type="text" name="Last_Name">
<input type="submit" value="Submit Form" name="submit">
It is kinda long story why do I need it, but I really needed.