PHP: Envoyer les données d’un formulaire

Author:

 formulaire
Download

 
<?php
if(isset($_GET['username']))
{
print "Bienvenu <b>$username</b><br/>";
print "Votre Adresse:<b>$adresse</b>";
}
else
{
 
?>
 
<html>
<head>
 
</head>
<body>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="GET">
<input type="text" name="username">
 
  <textarea name="adresse" rows="5" cols="40">
  </textarea>
 
<input type="submit" value="Cliquez ici">
</form>
 
</body>
</html>
<?php
}
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


1 × = six