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. 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 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! Link to comment https://forums.phpfreaks.com/topic/236261-forum-breaks/#findComment-1214702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.