OK, how do you display text from a database and keep the line breaks intact?
I added text to the DB (MySQL), from a textarea box, now I wish to display it on the screen with all the line breaks, tabs ect.
is there a function for doing this ?
for line breaks use nl2br
hope that helps
exactly what I was looking for. 😃 thanks malbera.
do'h!
coded the same function a few month ago :eek: