Re: Q:Syntax for a space? ...like \n is for new line???
| From: | Steve Werby | Date: | Thu, 25 Oct 2001 23:06:28 +0000 |
| Subject: | Re: Q:Syntax for a space? ...like \n is for new line??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72365@lists.php.net to get a copy of this message | ||
"Marcus James Christian" <marcus@mjchristianunlimited.com> wrote:
> How do you call for a space in an email put out by mail(); ? Similar
> to the way we call \n newlines with backslash n??
Within an email create a space by typing " " or ' '. If you want 10 spaces
do str_repeat( ' ', 10 ). If you wanted to create a space within HTML I'd
suggest using " " (some people prefer " "), but if you do that
within the body of a text email it should display the actual characters, not
the text, so that won't get you the desired behavior.
HTH,
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/