<html> <head> <title>bla</title> </head> <form action="test.php" method="post"> Votre nom: , <?php if (isset ($_POST['submit'])) { if ($_POST['submit'] == 'Valider 1') { echo 'Cher '.$blabla1.' vous avez presser le bouton 1'; } if ($_POST['submit'] == 'Valider 2') { echo 'Cher '.$blabla1.' vous avez presser le bouton 2'; } } ?> </form> </html>
<meta http-equiv="refresh" content="0;URL=resultat.php">