Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'msubmitting text to a mysql datab

Status
Not open for further replies.

ckennerdale

Programmer
Dec 23, 2000
158
GB
I'msubmitting text to a mysql database froma text field on a form

I've stripped out the un-html friendly slashes etc

how can I interpret my line breaks in the php/mysql- at present it comes out as one continous paragraph?

thanks in advance Caspar Kennerdale
Senior Media Developer
 
Or you can just put a <pre> tag before and a </pre> tag after the data when you output it to a web page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top