hno Posted September 25, 2009 Share Posted September 25, 2009 HI I want when the user press enter key the \r\n sore in database.I know when the query execute \r\n exist in the query but when I see the store information it doesn't exist . My table type is text . How should I store \r\n in database? thanks Link to comment https://forums.phpfreaks.com/topic/175497-question-about-storing-rn-in-database/ Share on other sites More sharing options...
Mark Baker Posted September 25, 2009 Share Posted September 25, 2009 Use nl2br() on the data you read from the database before echoing Link to comment https://forums.phpfreaks.com/topic/175497-question-about-storing-rn-in-database/#findComment-924746 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.