Possible Duplicate:
line breaks in a textarea
I have a text area where the user inputs some description in paragraphs. Now I want that if the user wants to add two paragraph, he will press enter to add a line break. But when we store that value in database then that line break does not get saved.
I want to ask that if a user press enter to add a line break then it should also get saved in the database.
I m using php.
Thanks
use nl2br($content_here); while retrieving
http://php.net/manual/en/function.nl2br.php