Re: CR \ LFs being represented as ascii characters in output of mail()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Murray @ PlanetThoughtful wrote:
For some reason "\r\n" characters are coming through exactly like
that in the email, and yet the same value being stored in the
backend MySQL database seems to represent the carriage-return \
line-feed characters as it should.

Sounds like you're using data that's been escaped with something like mysql_real_escape_string(). You want to do that when you're using it in a MySQL query, not when you use it in an email.

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux