strings and \n
| From: | Greg Sidelinger | Date: | Fri, 25 Jan 2002 20:48:12 +0000 |
| Subject: | strings and \n | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-82162@lists.php.net to get a copy of this message | ||
Ok I'm having a problem with the new line char \n in strings. I'm
trying to contrast an email that gets sent with the mail() function.
Here is what I'm doing.
$message = "line1\n";
$message .= "line2\n\n";
$message .= "line3\n";
...
$message = "lne99";
mail ("email", "subject", $message);
but when the email is received not all the new lines r taken. Can anyone
help me. Also where can I get a list of all the special chars like \n
and what they meain.
Greg