ROCKINDANO Posted March 9, 2009 Share Posted March 9, 2009 Hello all, i have a question. i have this text field to update a db, and sometime this text field has more than one paragraph and was wondering how do we go about displaying the msg in its proper format? right now when update the db using that text field it displays it as one huge paragraph. any help??? Thank you in advance Link to comment https://forums.phpfreaks.com/topic/148597-displaying-a-break-line-in-a-textfield-using-phpmysql/ Share on other sites More sharing options...
ngreenwood6 Posted March 9, 2009 Share Posted March 9, 2009 I think you may want to look into nl2br(). You will have to use it when pulling the info from the database. Link to comment https://forums.phpfreaks.com/topic/148597-displaying-a-break-line-in-a-textfield-using-phpmysql/#findComment-780390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.