Tenaciousmug Posted May 12, 2011 Share Posted May 12, 2011 Just a general question, but could someone help me and tell me how to allow the user to enter a <br> without actually typing it. Like when they're typing in the forums, I want it to automatically go on a new line when they hit the ENTER key. Or could someone lead me to a guide? I tried searching everywhere and just can't seem to find it. Quote Link to comment https://forums.phpfreaks.com/topic/236261-forum-breaks/ Share on other sites More sharing options...
wildteen88 Posted May 12, 2011 Share Posted May 12, 2011 nl2br is your friend Quote Link to comment https://forums.phpfreaks.com/topic/236261-forum-breaks/#findComment-1214699 Share on other sites More sharing options...
Tenaciousmug Posted May 12, 2011 Author Share Posted May 12, 2011 Thank you so much (: Works brilliantly! Quote Link to comment https://forums.phpfreaks.com/topic/236261-forum-breaks/#findComment-1214702 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.