chocopi Posted June 11, 2007 Share Posted June 11, 2007 when i store a message in my db i use nl2br() which puts into the database as i would expect (with the message with its new lines intact). but when i select the message from the database it only takes the top line and deletes the rest. I have it stored in the database as varchar(255) I have now changed it from varchar to text, but now nothing is showing up I have it sorted now, but i am unuse why it didnt work ??? Thanks, ~ Chocopi Quote Link to comment https://forums.phpfreaks.com/topic/55142-solved-multiple-lines-in-db/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.