Hi
I've got this code to concatenate my email message with line breaks which is then sent using mail() :
$message = 'Nom : '.$_POST['nom'].'\n';
$message .= 'Prenom : '.$_POST['prenom'].'\n';
$message .= 'Email : '.$_POST['email'].'\n';
but the '\n' doesn't work and the message is all on one line like this
Nom : name\nPrenom : first\nEmail : emailaddy\nText :
message\nSociété : company\n
I've looked at some other threads about this but i don't really understand it
what am i doing wrong?
😃