Hello,
I have a script that uses a textarea to have a user enter notes in. It then stores the textarea info to a blob in MySQL. When I load the blob and display it in a textarea it displays fine but when I try to display it as regular text on a web page it does not enter any of the carriage returns.
So for example this is what I would enter in the textarea:
This is a test
This is just a test
Then I click the submit button and off it goes to MySQL. Now if I load the blob from MySQL and display it in a textare it displays:
This is a test
This is just a test
But if I load the blob in the same exact way and try to just echo it straight to the webpage it displays like this:
This is a test This is just a test
Any idea how I can get the carriage returns to work?
Thanks for any help you can provide,
Aludaan