> Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back > & Next). The buttons should be images. How can I make php see, which > button has been pressed?
<?php if(isset($_POST["submit_back"])) { //go back } else { //go forward } ?> <form action="<?=$_SERVER["PHP_SELF"]?>" method="post"> <input type="submit" name="submit_back" value="Back"> <input type="submit" name="submit_next" value="Next"> </form> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php