Page 1 of 1

Enter has no effect when pulling from mysql

Posted: Sat Jul 21, 2007 1:01 am
by pinehead18
Even though i hit enter etc before inserting the info into the db. When i pull it from the db it just groups together as one big paragraph any ideas?

Thanks

Anthony

Posted: Sat Jul 21, 2007 1:17 am
by John Cartwright
Not sure what you are saying, perhaps you are looking for nl2br()

Posted: Sat Jul 21, 2007 1:36 am
by pinehead18
See i thought so too.

Do i use nl2br when pulling from the db or inserting?

Posted: Sat Jul 21, 2007 2:14 am
by John Cartwright
preferably when pulling