Inscription php

ben- Messages postés 189 Date d'inscription   Statut Membre Dernière intervention   -  
 Varaldi Q -
Bonjour,

je veux faire une inscription sur mon site.

quand on clik sur inscription sa envoira un message dans ses messages avec un mail de comfirmation et tout mais pour l'instant j'ai que sa comme code et je sais pas comment faire .

<!DOCTYPE php PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>Inscription</title>


<?php 
echo ' <body style="background-image: url(images/fond_accueil.png);"> <br /> <br /> <br /> <br /> <br /> <br />  <br /> <br /> <br />' ; 


$jour = date("d");
$mois = date("m");
$annee = date("Y");

$heure = date("H");
$minute = date("i");

 echo   " <p align=\"center\">Nous sommes le $jour/$mois/$annee et il est $heure h $minute.</p>  " ; 
 echo '<p align="center"><img src="images/pokeball.png"/><a href="accueil.php"> Accueil </a><img src="images/pokeball.png"/><a href="inscription.php"> Inscription </a><img src="images/pokeball.png"/><a href="connexion.php"> Connexion </a><img src="images/pokeball.png"/><a href="Forum.php"> Forum </a><img src="images/pokeball.png"/><a href="legende.php"> a propos du jeu </a><img src="images/pokeball.png"/> <a href="partenaires.php">Nos Partenaires</a><img src="images/pokeball.png"/></p>' ;   
 			
      ?>             

<html>
<head>

</head>
<body>
<center>
<form action="valider_inscription.php" method="post" enctype="multipart/form-data">
<table>
   <tr>
      <td>Login :</td>
      <td><input type="text" name="login"></td>
   </tr>
   <tr>
      <td>Password :</td>
      <td><input type="password" name="pass"></td>
   </tr>
   <tr>
      <td>Confirmer le password :</td>
      <td><input type="password" name="pass2"></td>
   </tr>
   <tr>
      <td>Email :</td>
      <td><input type="text" name="mail"></td>
   </tr>
   <tr>
     <td><p><input class="submit_inscription" type="submit" value="Inscription" name="inscription" /></p></td>
   </tr>
   </center>
</table>
</form>
</body>
</html>
A voir également:

21 réponses

abina2009 Messages postés 65 Date d'inscription   Statut Membre Dernière intervention   4
 
Bonjour,
Ton code n'est mal mais il faut éviter de travailler avec les tableaux surtout lor de la gestion des formulaires, sinon tu vas avoir du mal à réceptionner les informations. Si tu veux, tu peux utiliser les divisions (div)
0