I'm sorry if the title sounds confusing but I don't know how to express the problem in one line. Anyway here are the details,
I have a textarea
in which the user input data and then I store the data in my MySQL 5.5 database. The user inputs the data in well formated form i.e. leaving lines using 'enter key'
.
Eg:
text text text text
text text text
text text text text text text
Now when I retrieve the data from the database it is not displayed in the form as it was entered by the user but as follows,
Eg:
text text text text text text text text text text text text text
Is there a way through which I can make the format of the text same as it was entered by the user?