Raito Posted May 27, 2007 Share Posted May 27, 2007 If I have a multi-line input box and sentences are typed into it, how do I save/display the line spacing when calling it from a MySQL database? much like these forums. Link to comment https://forums.phpfreaks.com/topic/53112-solved-displaying-line-spaces/ Share on other sites More sharing options...
kenrbnsn Posted May 27, 2007 Share Posted May 27, 2007 Use the function nl2br() on the string when displaying it. Ken Link to comment https://forums.phpfreaks.com/topic/53112-solved-displaying-line-spaces/#findComment-262363 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.