voici le code de formulaire
Bonjour,
Merci pour votre aide rien a faire je reçoit pas les email.
voici le code de formulaire.
SVP est-ce que vous ouvez me donner les code php qui va avec mon formulaire .
Merci de m'aider
Codes :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
</script></TD>
<TD COLSPAN=4 ROWSPAN=2 bgcolor="#FFFFFF">
<!-------// html à inserer//---------------->
<table border="0" cellpadding="0" cellspacing="0" width="560">
<tr>
<td height="452" valign="top"><p class="txt">
<table cellspacing="0" cellpadding="0">
<tr>
<td vAlign="top" width="555" bgColor="#ffffff" height="250"><!--------//-->
<script language="javascript">
function verif(mail)
{
var arobase = mail.indexOf("@")
var point = mail.lastIndexOf(".")
if((arobase < 2)||(point + 2 > mail.length)||(point < arobase+2))
{
alert("Votre mail est absent ou erroné !");
document.contact.mail.focus();
return false
}
else
{
{
if (contact.comment.value=="")
{
alert("Veuillez remplir le champ Commentaires");
document.contact.comment.focus();
return false;
}
else
{
return true
}
}
}
}
</script>
<table border="0" cellpadding="0" cellspacing="0" width="550">
<tr>
<td valign="top"><form method="POST" action="require/contact.php" name="contact" onSubmit="return verif(this.mail.value)" enctype="multipart/form-data">
<p align="center" class="txt"> <br>
Prière de remplir votre demande en vérifiant votre
adresse E-mail.<br>
Les champs avec (<span class="bbr2 Style2">*</span>) sont obligatoires. </p>
<table width="488" height="297" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><p align="center" class="txt"> </p>
<center>
<table width="461" height="238" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="25"><div align="left" class="txt"><strong>Nom
:</strong></div></td>
<td width="11"> </td>
<td width="238" height="25"><div align="left">
<input type="text" name="nom" size="25" />
</div></td>
</tr>
<tr>
<td width="200" height="22"><div align="left" class="txt"><strong>Prénom
:</strong></div></td>
<td width="11" height="22"> </td>
<td width="238" height="22"><div align="left">
<input type="text" name="prenom" size="25" />
</div></td>
</tr>
<tr>
<td width="200" height="22"><div align="left" class="txt"><strong> Téléphone :</strong></div></td>
<td width="11" height="22"> </td>
<td width="238" height="22"><div align="left">
<input type="text" name="tel" size="25" />
</div></td>
</tr>
<tr>
<td width="200" height="22"><div align="left" class="txt"><strong> E-mail :<span class="bbr2 Style2">*</span></strong></div></td>
<td width="11" height="22"> </td>
<td width="238" height="22"><div align="left">
<input name="mail" type="text" id="mail" size="25" />
</div></td>
</tr>
<tr>
<td width="200" height="121" valign="top"><div align="justify">
<p align="justify"><strong class="txt">Commentaires:</strong><span class="bbr2 Style2">*</span><strong class="txt"> </strong> <strong><em><u><br />
</u></em></strong><em><u><strong> </strong></u></em> <span class="txt"> <br>
Si vous n'avez pas reçu de réponse
de notre part dans les 24 heures cela veut dire
que vous avez mis une adresse email non valide,
alors merci de nous contacter une autre fois et
nous aurons le plaisir de vous répondre. </span> </p>
</div></td>
<td width="11" height="121" valign="top"> </td>
<td width="238" height="121"><p>
<textarea name="comment" cols="25" rows="6" id="comment"></textarea>
</p></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="26" align="center"><div align="center"></div></td>
<td height="26" align="center"> </td>
<td height="26" align="center"><div align="center">
<input name="submit" type="submit" id="submit" value="envoyer" />
</div></td>
</tr>
</table>
</center></td>
</tr>
</table>
</form></td>
</tr>
</table>
<!--------//--> </td>
</tr>
</table> |