Newsletter
Liste des sujets

pbm avec formulaire en php

arwen02
arwen02
Niveau 10
28 décembre 2004 à 09:16:48

voici mon code de fomrulaire:
< ?
if ( isset($_GET[´post´]) )
{
$message=´Age:´.$_POST[´age´].´´;
$to=´l_axou@hotmail.com´;
$objet=´Envoi de formulaire´;
mail($to, $objet, $message);
header("location: essaiformulaire2.html");
}
? >

< ! DOCTYPE html PUBLIC " -//W3C//DTD XHTML 1.1//EN" " http://www.w3.org/TR/xhtm[...]tml11.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
< head>
< title>Axelle´s Gate... Découvrez de nouveaux horizons...</title>
< meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" / >
< link rel="stylesheet" media="screen" type="text/css" title="Accueil3" href="style_accueil3.css" / >
< / head>
< body>

< p>
Votre age:
< / p>

< form method="post" action="essaiformulaire.php?post=ok">

< input type="text" name="age" / >
< input type="submit" value="Valider" / >

< / form>

< / body>
< / html>

et je ne recois pas le mail que je devaris recevoir

pk??

merci!

Sous forums
  • Aide à l'achat Mac
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment