vanzkee Posted December 16, 2007 Share Posted December 16, 2007 Hi, I have a FORM which allows ppl to enter text into (goes into MySQL). Another page loads this text. The problem is that all text is being displayed on one single line. No carriage return as it was written in the FORM. Can any1 help me out on this one? Cheers Link to comment https://forums.phpfreaks.com/topic/81916-how-to-get-carriage-return-displayed-when-entering-text-in-forms/ Share on other sites More sharing options...
AndyB Posted December 16, 2007 Share Posted December 16, 2007 use the nl2br() function on text drawn from the database Link to comment https://forums.phpfreaks.com/topic/81916-how-to-get-carriage-return-displayed-when-entering-text-in-forms/#findComment-416207 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.