I am using:
<textarea rows="24" name="thetext" cols="66"></textarea>
After submitting, I send it to MYSQL in a cell type (longtext)...
For example: I input:
Hello
world
All I get in the variable is helloworld(one word).. I need the line breaks..
I tried: $results = htmlentities($_POST[thetext]); and it is not working. How can I get it to show the line breaks please?
<textarea rows="24" name="thetext" cols="66"></textarea><text area>in html only we have is<textarea>tag