Retaining paragraph breaks in text area?
I'm currently using DreamweaverMX to create a simple CMS for my site using PHP and MySQL, and I've run into a small problem.
I need the text area to retain the paragraph breaks automatically without my need to insert the <BR> tags manually.
Can anyone suggest a simple solution to this problem?
You will almost certainly find the PHP function nl2br() helpful here [img]images/smilies/smile.gif[/img]
Hope this helps!
Thanks for pointing me in the right direction. A little nose at my PHP/MySql book and a little experimentation later and it's working sweet as a nut.
You're a life saver....