Pb formulaire php

Résolu
Bonjour,

voila j'ai fait un formulaire qui marche très bien.
mais j'ai un petit truc a modifier et n'étant pas fort en php ca me pose un problème:

j'aimerai avoir 2 adresses de destinations comment faire?

<?php
$TO = "blabla@orange.fr";

$h = "From: " . $TO;

$message = "";

while (list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key : $val\n";
}

mail($TO, $subject, $message, $h);

Header("Location: https://www.geringhoff.com/");

?>
Configuration: Windows Vista
Internet Explorer 7.0

3 réponses