<html>
<head>
</head>
<body>
<form name="form" action="page2.php" method="post">
<fieldset>
<h4>
<label>
Entrer Valeur1: <style="width: 400px; height: 200px" >
</label> <br> <br>
<input type="text" name="coef" id="coef" style="width: 250px; height: 40px" size=15 > <br> <br> <br> <br>
<label>
Entrer Valeur2 : <style="width: 400px; height: 200px" >
</label> <br> <br>
<input type="text" name="NS" id="NS" style="width: 250px; height: 40px" size=15 > <br><br><br>
</h4>
<center>
<input type="submit" name="submit" value="Valider" style="width: 150px; height: 40px">
<input type="reset" name="reset" value="Effacer" style="width: 150px; height: 40px">
</fieldset>
</form>
</body>
</html>
<html>
<head>
</head>
<body>
<?php
$coef=$_POST["coef"];
echo $coef;
$NS=$_POST["NS"];
echo $NS;
?>
</body>
</html>
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question<html> <head> </head> <body> <?php //********************* echo "Variables POST : "; print_r($_POST); //********************* $coef=isset($_POST["coef"])?$_POST["coef"]:'error'; echo "<br>coef: ".$coef; $NS=isset($_POST["NS"])?$_POST["NS"]:'error'; echo "<br>NS : ".$NS; ?> </body> </html>
<label> <!-- Balise <style....> A supprimer !! --> Entrer Valeur1: <style="width: 400px; height: 200px" > </label> <br> <br>