please i am trying to make the message show on newline as the customer type it, but i am getting /r/n between each line and also trying to make the $body .= $_SESSION[‘username’]; appear on a separate line the code is below
$body .= $_SESSION['username'];
$body .= $message;
$to = $email;
$subject = "copy of your notification";
$headers = "From: [email]noti@r.co.uk[/email]\\r\
";
$headers .= 'MIME-Version: 1.0' . "\\r\
";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\\r\
";
$headers .= 'Bcc:noti@r.co.uk' . "\\r\
";
mail($to,$subject,$body,$headers);
}
}
?>
<p>
<form action='notification.php' method='Post' class='rl'>
<div>
<label for='message' class='fixedwidth'>Message</label>
<textarea name="message" rows ="7" cols="40" id="message"></textarea>
</div>
<div class='buttonarea'>
<p>
<input type='submit' name='notify' value='Notify'>
</p>
</div>
</p>
</form>