Reputation: 6189
I currently have a MySQL table called _post and i have a column called message (TEXT)
When i insert a row into the table the text looks like this in phpmyadmin
This is Correct How I Want It To Display
How much do you use your computer?
You might be spending to much time.....
But when i echo it out of the database it looks like this
How much do you use your computer? You might be spending to much time.....
Thank You
Upvotes: 0
Views: 55
Reputation: 658
You can use the nl2br() function to display your data.
Example:
echo nl2br($mysql_text);
Regards
Upvotes: 0