By archard on
I'm making a module right now that has the user input data in the form of a textarea. So in the database the data looks like this.
Some sentence here.
Another sentence here.
More sentences over here.
But when this value is retrieved from the database it looks like this
"Some sentence here. Another sentence here. More sentences over here."
How can I correctly retrieve this data so that it prints on the screen like it does in the database?
Comments
wrap your output in nl2br()
wrap your output in nl2br() php function
what if he wrap the input and
what if he wrap the input and output data in
< pre>
< pre>