I don't think email messages care about html breaks "<BR>"..(unless it's
HTML email or something)

This is what I always use..

$message = "$Info \n$Phone \n$Email";



You can use the '\n' to also make your HTML sources more readable.

-----Original Message-----
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:37 PM
To: Wade DeWerff; [EMAIL PROTECTED]
Subject: Re: [PHP] mail() question


$message .= $Info;
$message .="<br>";
$message .=$Phone;
$message .="<br>";
$message .=$Email;


This should append everything, but I could be wrong, I'm no Guru :-)


Clayton Dukes
---------------------------------------------------------------------
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net


----- Original Message -----
From: "Wade DeWerff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 2:36 PM
Subject: [PHP] mail() question


is there a way to do this in a mail() ? I need to add the $Phone and $Email
variables too the $message, but I need to format it so that it is on a new
line in the email....I tried using <br> and /n, but it formats as text not
code function.


$message = $Info ."<br>". $Phone ."<br>". $Email;





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to