concatenating strings
| From: | Bill Freeburg | Date: | Sat, 22 May 2004 10:43:17 +0000 |
| Subject: | concatenating strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186755@lists.php.net to get a copy of this message | ||
how do I add newline commands in the middle of a text string?
I'm sending an email with the function
mail($sendto,$subject,$message,$headers)
The message is
$message = "My name is " . $myname . " My favorite color is " . $color;
How do I write it so the email message text is on two lines,
My name is BILL
My favorite color is RED
Thanks,
Bill Freeburg