1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<?php
include('inc/header.php');
?>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
li {
list-style: none;
}
</style>
</head>
<body>
<h2>Nouvelle Campagne </h2>
<ul>
<table>
<form action="test.php?Finalisera=true" method="post" enctype="multipart/form-data">
<tr>
<td colspan="2" align="center"><input type="submit" name="submit" value="Finaliser"/></td>
</tr>
</form>
</table>
</ul>
</body>
</html>
<?php
if(isset($_GET["Finalisera"])) //cas d'un envoi
{
if ($_GET["Finalisera"] == true )
{
echo "<script>alert(\"ok click bouton !\")</script>";
//ensuite je veux changer test.php?Finalisera=true en test.php
// remettre a l'etat initial
}
}
?> |
Partager