[script email php] probleme de mise en forme
petinico
-
petinico -
petinico -
bonjour à tous,
Je crée un formulaire dont les données me sont envoyées par mail. J'utilise un script php et tout fonctionne bien. Le probleme arrive quand je mets mon formulaire dans une table. Si je vires la table, ça refonctionne..
une table toute simple comme ça :
<table width="580" height="220" border="0">
<form action="envoi_mail_vote.php" method="post" enctype="text/plain">
<tr>
<td colspan="12">Saisissez votre adresse email : <input type="text" name="email2" size=30 maxlength=50></td>
</tr>
<tr>
<td width="120" height="20">paul</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="paul" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120" height="20">Pierre</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="pierre" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120" height="20">jacques</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="jacques" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
</tr>
<tr>
<td width="120">georges</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="georges" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120">Maurice</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="maurice" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120">toto</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="toto" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
</tr>
<td colspan="4" align="center" height="20"><input type="submit" value="Envoyer"></td>
</form>
</table>
rien d'exeptionnel ! mais ça marche plus une fois dans la table.
j'ai essayer aussi de mettre la ligne <form action=...> dans et avant la balise <table>, c'est pas mieux ! Qu'est-ce qui peut le bloquer ?
merci
petinico
Je crée un formulaire dont les données me sont envoyées par mail. J'utilise un script php et tout fonctionne bien. Le probleme arrive quand je mets mon formulaire dans une table. Si je vires la table, ça refonctionne..
une table toute simple comme ça :
<table width="580" height="220" border="0">
<form action="envoi_mail_vote.php" method="post" enctype="text/plain">
<tr>
<td colspan="12">Saisissez votre adresse email : <input type="text" name="email2" size=30 maxlength=50></td>
</tr>
<tr>
<td width="120" height="20">paul</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="paul" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120" height="20">Pierre</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="pierre" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120" height="20">jacques</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="jacques" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
</tr>
<tr>
<td width="120">georges</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="georges" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120">Maurice</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="maurice" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
<td width="120">toto</td>
<td width="20" height="20">=></td>
<td width="40"><input type="range" min="0" max="4" name="toto" maxlength="4" size="4"></td>
<td width="20" height="20"> </td>
</tr>
<td colspan="4" align="center" height="20"><input type="submit" value="Envoyer"></td>
</form>
</table>
rien d'exeptionnel ! mais ça marche plus une fois dans la table.
j'ai essayer aussi de mettre la ligne <form action=...> dans et avant la balise <table>, c'est pas mieux ! Qu'est-ce qui peut le bloquer ?
merci
petinico
A voir également:
- [script email php] probleme de mise en forme
- Mise en forme conditionnelle excel - Guide
- Script vidéo youtube - Guide
- Mise a jour chrome - Accueil - Applications & Logiciels
- Mise en forme tableau croisé dynamique - Guide
- Comment creer un compte email - Guide