Jump to content

formatting text stored in a mysql db


josal

Recommended Posts

Hi there,

 

If i store text ie a description in a text field of a mysql database and then display the text on a page it is shown as one big paragraph.

 

Is there anything I can do to format it so that there are blank lines between paragraphs etc. Do I do this if possible when enterig into the database or after?

 

Any assistance would be great.

 

Many THanks,

 

John

Link to comment
https://forums.phpfreaks.com/topic/1512-formatting-text-stored-in-a-mysql-db/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.