skaterdav85 Posted February 1, 2010 Share Posted February 1, 2010 Is there any way to preserve a textarea's format when you submit it? Link to comment Share on other sites More sharing options...
ProblemHelpPlease Posted February 1, 2010 Share Posted February 1, 2010 What exaclty do you mean by format? Do you mean to preserve the returns? Link to comment Share on other sites More sharing options...
skaterdav85 Posted February 1, 2010 Author Share Posted February 1, 2010 ya. Similar to how the textarea works in this forum. When I put text on different lines, those returns or new lines are preserved. Maybe this is a server side thing. I'm using PHP. Link to comment Share on other sites More sharing options...
ProblemHelpPlease Posted February 1, 2010 Share Posted February 1, 2010 have a look at http://php.net/manual/en/function.nl2br.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.