November 8th, 1999, 08:14 PM
Ok, I inserted a value into a column that contains three line breaks or "hits of the enter key". When I print that variable as regular text the line breaks are no where to be found. However, when I print it into a textbox the line breaks work just fine and it skips lines like it's supposed to.
So how can I make it work like that as just regular text? Help would be very much appreciated!
November 9th, 1999, 07:21 AM
If you want to print your text on html page you should use nl2br() function, it converts line breakes to <br>'s.
Also you can put your text inside html <pre></pre> tags.
[This message has been edited by Goral (edited 11-09-99).]
November 9th, 1999, 03:37 PM
Thanks a ton! I needed that for making a lot of the scripts that I will be using on my site that is at:
Just in case your interested =)