I have a Long Text field in my database. The data shows fine the in the database, with linefeeds all fine. When I try to pull that information out, the linefeeds turn into spaces. How do I get the data out in the same format it went in?
~Matthew
HERE IS THE ANSWER
Once the data is pulled back out of the database into a variable, use this:
nl2br($stringvar)
This will add the necesary <br> tags to make it look good again.