Hi,

I have a form inserting data into a database. I'm using nl2br to add <br> to the data 
enetered where appropriate.
The data is then pulled out of the database and inserted into text fields for editing.

Can anyone tell me how to remove the <br> tags while maintaining the line breaks in 
the text field?

Thanks,

Phil
-----------------------------
 
Philip Jeffs
 
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
    [EMAIL PROTECTED] (evening)
 
-----------------------------

Reply via email to