carriage returns in a message board
Posted: Thu Jun 06, 2002 8:43 pm
Here's my situation...
I've written a PHP and MySQL based message board and it works out fine. Messages post and they are retrieved and it all goes spectacular. My only problem is that when a message is retrieved from the database it loses all the carriage returns placed within the message. Either that, or the carriage returns aren't being sent to the database in the first place. I've debated over it for a while, how can I fix this?
I've written a PHP and MySQL based message board and it works out fine. Messages post and they are retrieved and it all goes spectacular. My only problem is that when a message is retrieved from the database it loses all the carriage returns placed within the message. Either that, or the carriage returns aren't being sent to the database in the first place. I've debated over it for a while, how can I fix this?