Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Jun 2008
    Location
    Cornwall
    Posts
    2,099
    Thanks
    297
    Thanked 12 Times in 12 Posts

    Exclamation formatting text from textarea when inserting into a db table

    Hi All,

    I have a form which includes a text area, and the form get submitted with the data being added to a db table, this all works fine however the data entered in the text area get inserted into the db without any formatting

    now the only real formatting i want is when the enter key is pressed to start a new line or paragraph, is there a way to get this formatting to enter into the db so it appears on the webpage properly and not just as a mass of text with no formatting?

    i get the data like so
    PHP Code:
        $report $_POST['report']; 
    many thanks
    Luke

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    Cornwall
    Posts
    2,099
    Thanks
    297
    Thanked 12 Times in 12 Posts
    ok sorted it


  •  

    Posting Permissions

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