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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/53112-solved-displaying-line-spaces/#findComment-262363 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.