Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004

    Unanswered: No Line Breaks in BLOB or TEXT data types


    I have set up a database that is going to accept fiction and poetry submissions. I need to find out the best way to read these submissions back to a web page that will display line breaks correctly. Right now I just left them as BLOB data types, and line breaks are not displayed when sent back to the web page.

    I hope this is a simple question. Someone please help!


  2. #2
    Join Date
    Oct 2004
    use nl2br() function in PHP script, it will convert all \n characters to <br>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts