Merci d'avoir répondu si vite.
Voici le code de la page contact.php :
<div class="tabs-inner-holder">
<form id="add-form" class="main-form" method="POST" action="contactform.php">
<fieldset>
<!-- <legend></legend> -->
<div class="row-form">
<label>Civilité</label>
<input name="Civ" type="radio" checked value="M."/>
<span>Mr.</span>
<input name="Civ" type="radio" value="Mme"/>
<span>Mme</span>
</div>
<div class="row-form ">
<label>Nom*</label>
<input name="Nom" type="text" value="" required />
</div>
<div class="row-form ">
<label>Prénom*</label>
<input name="Prenom" type="text" value="" required />
</div>
<div class="row-form">
<label>Organisation</label>
<input name="Organisation" type="text" value="" /> </div>
<div class="row-form ">
<label>Adresse email*</label>
<input name="Email" type="email" value="" required />
</div>
<div class="row-form">
<label>Téléphone</label>
<input name="Tel." type="text" pattern="\+?[0-9]+" value="" /> </div>
<div class="row-form ">
<label>Message* </label>
<textarea name="Message" value="" required></textarea>
</div>
<div class="row-form row-submission">
<input type="submit" value="Envoyer" />
<small>*Champs obligatoires</small>
</div>
</fieldset>
</form>
</div>
Et le code de la page contactform.php :
<?php
$TO = « contact@monsite »;
$subject = "Demande d'information adressée depuis le site ….;
$h = "From: " . $TO;
while (list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key : $val\n";
}
mail($TO, $subject, $message, $h);
header("Location:contactar.php");
?>
—————
Merci encore
Modifié par 6l20 (15 Feb 2014 - 00:27)