Hey, I have a text in my mySQL db that look like this:
<whitespace>hello, this is
some text...
And when i try to output it I get this:
Hello, this is
some text..
I already use nl2br for row change but im not sure how to keep the whitespaces before any text appear on the row, is there a function for that or will i have to convert all the whitespace to  ?
edit:
apparently this code also ignore the whitespace in the start of a row
<whitespace> is just a space.




Reply With Quote


Bookmarks