Jump to content


Photo

formatting text stored in a mysql db


  • Please log in to reply
1 reply to this topic

#1 josal

josal
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 December 2003 - 12:16 PM

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

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 16 December 2003 - 01:20 PM

Please don\'t double-post. You\'ll find my replay in reponse to your other post.
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users