Alors tout d'abord bonjour
je vous enonce mon probleme j'ai eu l'idée de faire un formulaire en php^^ mais voial je voudrais 3 champs mais il m'en montre que deux
nom et prenom.
Le code qui fais apparaitre les champs:
Citation :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type" />
<title></title>
</head>
<body>
<form method="post" action="verif.php">
Nom : <input type="text" name="nom" size="12"><br>
Prénom : <input type="text" name="prenom" size="12"><br/>
Age: <input type="text" name="age" size="12"><br/>
<input type="submit" value="OK">
</form>
</body>
</html>
et celle de ma page verif.php, pour les données:
Citation :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type" />
<title></title>
</head>
<body>
<?php
$prenom = $_POST['prenom'];
$nom = $_POST['nom'];
$age= $_POST['age'];
print("<center>Bonjour $prenom $nom $age</center>");
?>
</body>
</html>
alors où est mon blem,merci d'avance
fclm