I am developing a messageboard where I have to display user inserted text from the DB to a HTML page the data is accepted in a Textarea submitted to a tabel in the database
The HTML page is made by querying the same table.
I want to display the text the same way user has inputed it, that is if the user has left gaps in one line or if he goes on typing in the textarea it automatically comes to the second line, so I want my HTML page to display in the same manner.
exp:
agnangal = naklgal;
kanglkanganglnalnglanlnalnhlanlnalnlanlhnalnhlananlnalnhln'an'han'
should display in the HTML page as:
agnangal = naklgal;
kanglkanganglnalnglanlnalnhlanlnalnlanlhnalnhlananlnalnhln'an'han'
pls help me out
Thanks