Noob questions. I have two forms on one page. How do I distinguish them in php code? For example:
<form action="" method="post">
<input type="text" name="test1" />
<input type="submit" value="Add" />
</form>
<form action="" method="post">
<input type="text" name="test2" />
<input type="submit" value="Add" />
</form>
<?php if($_POST) {
//Do something
}
name=""andid="". – kaiser Oct 13 '12 at 15:45