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 /> 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 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
Archived
This topic is now archived and is closed to further replies.