par
agité » 29 nov. 2005, 10:25
Bonjour,
je dois realiser un exercice assez simple mais je ne comprends pas pourquoi on me retourne une erreur.
je fais donc mon formulaire
<html>
<head>
<title>Titre</title>
</head>
<body>
<form method="POST" action="done.php">
<input type="text" name="texte1">
<input type="submit">
</form>
</body>
</html>
en HTML et je fais le fichier done.php a côté:
<? echo "$texte1"; ?>
Mais il m'indique une erreur me disant qu'il n'arrive pas a trouver texte1
Notice: Undefined variable: texte1 in c:\program files\easyphp1-8\www\cnam\seance05\done.php on line 1