PRG_Jughead Posted August 26, 2007 Share Posted August 26, 2007 I have to input the Text in Textarea. The Text may contain the Line Break or new line by pressing <enter? by user. When I display the Inputted text in Page, it excludes the line Break. I must show the Text as enter by the user, with line Break. I Want the simpler solution. Thanks in Advance. Quote Link to comment https://forums.phpfreaks.com/topic/66729-solved-displaying-inputted-text-of-textarea-in-form/ Share on other sites More sharing options...
trq Posted August 26, 2007 Share Posted August 26, 2007 nl2br(). Quote Link to comment https://forums.phpfreaks.com/topic/66729-solved-displaying-inputted-text-of-textarea-in-form/#findComment-334369 Share on other sites More sharing options...
PRG_Jughead Posted August 26, 2007 Author Share Posted August 26, 2007 Thanks A Lot !! Quote Link to comment https://forums.phpfreaks.com/topic/66729-solved-displaying-inputted-text-of-textarea-in-form/#findComment-334371 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.