View Single Post
Old 07-25-07, 08:19 AM   #15
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Save coding to database

AFAIK \r\n is chr(13) + chr(10), the text area has chr(13)chr(10) because of the Win32 CRLF and PHP sees it as \r\n just like a tab would be \t so to remove chr(13)chr(10) and convert it to <BR> you would use a str_replace on \r\n
evilghost is offline   Reply With Quote