Download
<html>
<head>
</head>
<body>
<?php
if (array_key_exists('nom',$_POST))
{
print "Bienvenu, ". $_POST['nom'];
}
else
{
?>
<form method="post" action="<?php print $_SERVER['PHP_SELF'];?>">
Votre Nom:
<input type="text" name="nom" />
<input type="submit" name="essayer" />
</form>
<?php
}
?>
</body>
</html> |
<html>
<head>
</head>
<body>
<?php
if (array_key_exists('nom',$_POST))
{
print "Bienvenu, ". $_POST['nom'];
}
else
{
?>
<form method="post" action="<?php print $_SERVER['PHP_SELF'];?>">
Votre Nom:
<input type="text" name="nom" />
<input type="submit" name="essayer" />
</form>
<?php
}
?>
</body>
</html>