if do you want to open 2 different target but one form
you can use javascript instead
<script>
function targeturl(formname,url)
{
formname.action=url;
formname.submit();
}
</script>
and lets say you have this form
<form name="form1" method="post" >
<input type="text" name="name1">
<input type="button" name="submit" value="submit1" onclick="targeturl(form1,'firstform.php')">
<input type="button" name="submit" value="submit2" onclick="targeturl(form1,'secondform.php')">
you can use this script as long as you are going to pass a field that a user entered in your form
otherwise
you can use php
// button selected
if (isset($_POST['button1'))
header("location : firstform.php");
if (isset($_POST['button2']))
header("location : secondform.php");
// in this case you will only redirect to that page without carrying over the fields inputted
<form name="form1" method="post" action="">
<input type="submit" name="button1" value="first button">
<input type="submit" name="button2" value="second button">
</form>