Jump to content

MiguelMba

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MiguelMba

  • Rank
    Newbie
  1. <?php if (isset($POST['valider'])) { if (!empty($_POST['nom']) AND !empty($_POST['prenom'])AND !empty($_POST['mail']) AND !empty($_POST['message'])) { } else{ $msg="Veuillez remplir tous les champs"; } } ?> <?php if (isset($msg)){ echo $msg; } ?> <form id="message" method="POST" action=""> <input type="text" placeholder="Entrez votre nom" name="nom" id="nom" value="<?php if (isset($_POST['nom'])) echo $_POST['nom'];?>"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="prenom" placeholder="Entrez votre prenom" id="prenom"/><br/><br/> <input type="email" name="mail" class="mail" placeholder="Entrez votre E-mail" id="mail"/ ><br/><br/> <textarea id="text" name="message" placeholder="Votre message" id="text"> </textarea><br/><br/> <input type="submit" class="valider" name="valider" value="Envoyer votre message"> </form>
×
×
  • Create New...