Jump to content

Problem in sending mail..


haku87

Recommended Posts

Hi, I using the mail() function in php to send form variable to email.

I attempted to leave a line by using <br> but failed..

Is there anyway of leaving a line in a variable?

I replaced <> with [] to display on this forum

$message = "Courses : " . $_POST['courses'] . "<br>";

$message .= "Preferred Time and Date : " . $_POST['timeDate'] . "[br]";

$message .= "Name : " . $_POST['name'] . "[br]";

Link to comment
https://forums.phpfreaks.com/topic/41145-problem-in-sending-mail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.