Posted by nice.guy.nige on 08/20/07 00:13
While the city slept, Shelly (sheldonlg.news@asap-consult.com) feverishly
typed...
[...]
> $message .= "\\nThank you for your order.";
[...]
If this is an exact copy of the kind of text you are using then herein lies
your problem...
The backslash is used to escape a character. Therefore, to allow a backslash
to appear in the text itself, you would escape it with another backslash. So
the text above is escaping the backslash and will literally output "\nThank
you for your order."
Change that to...
$message .= "\nThank you for your order."; // note - only one backslash
.... and you should be ok.
Hope that helps.
Cheers,
Nige
--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"
[Back to original message]
|