meomike2000 Posted March 26, 2009 Share Posted March 26, 2009 i am trying to create a simple messenger,,, all works pretty good... the only problem that i have is for the main body i use <textarea>, when you enter information in the message area, <textarea>, the iformation is then stored in a table and when the user that the message was sent to checks his messages he gets the message... all that works great but what was put in the message box, <textarea>, does not hold format..... if i put in this is a test i get this is a test... not this is a test... hope this makes sense... thanks mike Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted March 26, 2009 Share Posted March 26, 2009 http://us.php.net/nl2br Quote Link to comment Share on other sites More sharing options...
meomike2000 Posted March 26, 2009 Author Share Posted March 26, 2009 i figured out my proble.... on the display page i forgot to put the message in a <textarea>, i was just using echo to display the data, after putting it in a <textarea> it is fixed..... mike... 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.