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 Link to comment https://forums.phpfreaks.com/topic/151192-solved-help-with-text-area-please/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 26, 2009 Share Posted March 26, 2009 http://us.php.net/nl2br Link to comment https://forums.phpfreaks.com/topic/151192-solved-help-with-text-area-please/#findComment-794236 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... Link to comment https://forums.phpfreaks.com/topic/151192-solved-help-with-text-area-please/#findComment-794238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.