lszanto Posted May 31, 2007 Share Posted May 31, 2007 Does anybody know how it is done so that if somebody presses enter in a textarea teh code will detect it and insert a <br /> Quote Link to comment https://forums.phpfreaks.com/topic/53684-solved-inserting-at-line-breaks/ Share on other sites More sharing options...
gabeg Posted May 31, 2007 Share Posted May 31, 2007 nl2br http://us.php.net/nl2br Quote Link to comment https://forums.phpfreaks.com/topic/53684-solved-inserting-at-line-breaks/#findComment-265359 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.