stuffradio Posted December 31, 2007 Share Posted December 31, 2007 I want to have it insert a linebreak in the textarea when you hit enter. Can you help me out? Thanks Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted December 31, 2007 Share Posted December 31, 2007 tell me how u think php could do that if its prehypertext processing? Quote Link to comment Share on other sites More sharing options...
stuffradio Posted December 31, 2007 Author Share Posted December 31, 2007 I see your point... I should've posted in the HTML or javascript section(if there is one, I forget). I didn't think PHP would do it, I thought Javascript would do it. Quote Link to comment Share on other sites More sharing options...
jitesh Posted December 31, 2007 Share Posted December 31, 2007 nl2br(); Quote Link to comment Share on other sites More sharing options...
stuffradio Posted December 31, 2007 Author Share Posted December 31, 2007 Thanks jitesh! I forgot about that function Quote Link to comment 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.