Hello Jason,
A little delay in this project but now it's back.
With this syntax $MailBody = $MailBody . ((isset($_POST["interet"]))?implode(",", $_POST["interet"]):""); i don't receive anything in my email and i get some warning mesages :
Warning: implode() [function.implode]: Invalid arguments passed in /home/_pl/pnl/pub/www.pnl-ressources.com/webassist/email/waue_demande-de-renseignements_1.php on line 68
Warning: implode() [function.implode]: Invalid arguments passed in /home/_pl/pnl/pub/www.pnl-ressources.com/webassist/email/waue_demande-de-renseignements_1.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /home/_pl/pnl/pub/www.pnl-ressources.com/webassist/email/waue_demande-de-renseignements_1.php:68) in /home/_pl/pnl/pub/www.pnl-ressources.com/demande-de-renseignements.php on line 99
As you can see i have tested various syntaxes on lines 67, 68, 69 respectively :
$MailBody = $MailBody . "line 67".((isset($_POST["interet"]))? ($_POST["interet"]):"")."";
$MailBody = $MailBody . "line 68".implode("<br/> ",((isset($_POST["interet"]))? ($_POST["interet"]):""))."";
$MailBody = $MailBody . "line 69".((isset($_POST["interet"]))?implode(",", $_POST["interet"]):"");
first syntax (line 67) send in the email line 671 Relation d\'aide, 2 Psychothérapie, 6 Entreprise (complete line email message is Mes intérêts :
line 671 Relation d\'aide, 2 Psychothérapie, 6 Entrepriseline 68line 69) but i want to have linr returns between data like
1 Relation d\'aide
2 Psychothérapie
6 Entreprise
i still have to utf8_decode and stripslashes the string but this is not a problem.
Thanks for you help