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 Link to comment https://forums.phpfreaks.com/topic/55142-solved-multiple-lines-in-db/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.