Closed Thread
Results 1 to 4 of 4

Thread: storing info in mysql database

  1. #1
    Senior Member jvv is an unknown quantity at this point
    Join Date
    Oct 2000
    Location
    Antwerp, Belgium.
    Posts
    191
    This will probably sound stupid, but I'm trying to save some text in a mysql database. But when I retrieve it, the text shows up again, but no longer in paragraphs...

    Anyone know how to do this ?

    (using PHP4, mySQL)
    "Don't go knocking on death's door, ring the doorbell and run away, that really makes Death angry"

  2. #2
    FWS Addict Koolguy is an unknown quantity at this point Koolguy's Avatar
    Join Date
    Oct 2000
    Location
    Canada
    Posts
    934
    Do you mean print it out as a html page or the raw text?
    koolplace\dot\com - an amazingly awesome, pointless site

  3. #3
    Senior Member jvv is an unknown quantity at this point
    Join Date
    Oct 2000
    Location
    Antwerp, Belgium.
    Posts
    191
    What I am doing is accepting text from a form and store it in a database. I want to retrieve the data the way it was sent in, so with paragraphs and stuff... so in a sense, yes, turn it into html.

    "Don't go knocking on death's door, ring the doorbell and run away, that really makes Death angry"

  4. #4
    Pro Member Woofcat is an unknown quantity at this point Woofcat's Avatar
    Join Date
    Nov 2000
    Location
    Chicago
    Posts
    286
    nl2br($text)
    Es ist nicht leicht ein Gott zu sein

Closed Thread

Bookmarks

Posting Permissions

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