formatting text from textarea when inserting into a db table
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
$report = $_POST['report'];