I am working on a web development project where I want add details for particular foods. So I added a multiline textbox where I want to type the details. I wanted to save that details into database and later wanted to use those text in another page reading from the database. But when I am showing those text into another webpage all the text are showing into single line. What should I do to resolve this problem?
-
Why are you using a multiline textbox?Vajura– Vajura2015-03-17 12:47:24 +00:00Commented Mar 17, 2015 at 12:47
-
3@Vajura: Why do you care?Patrick Hofman– Patrick Hofman2015-03-17 12:48:01 +00:00Commented Mar 17, 2015 at 12:48
-
Carriage returns don't render on a web page. When you display the text you need to replace carriage returns with "br" tags.David– David2015-03-17 12:48:57 +00:00Commented Mar 17, 2015 at 12:48
-
You can check this:- stackoverflow.com/questions/4883613/…Rahul Singh– Rahul Singh2015-03-17 12:50:14 +00:00Commented Mar 17, 2015 at 12:50
-
Thanks, i got the answer now. @RahulSaif Mahmud Parvez– Saif Mahmud Parvez2015-03-17 12:59:07 +00:00Commented Mar 17, 2015 at 12:59
Add a comment
|