HELP! I have a database field that stores a Text(255) data and when I print it in a table it does not format with 'cr' and 'lf' . How can I get the carridge return and line feeds or newlines to display properly in the browser?. Thanks for your help!
JCK
Are you using the nl2br() function? That converts line breaks and carraige returns to <br>s. Also, eregi_replace(10, "<br>", $text) would work as well.
Originally posted by Atticus Are you using the nl2br() function? That converts line breaks and carraige returns to <br>s. Also, eregi_replace(10, "<br>", $text) would work as well.
Atticus: You are my hero! nlsbr() function was the answer. I have struggled with this for 2 days. Thanks so much for you assistance.