View Single Post
Old 07-25-07, 09:26 AM   #16
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Save coding to database

Quote:
Originally Posted by evilghost
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
good point.

oh well, guess all we can do is wait for him to test it
ViN86 is offline   Reply With Quote