Michdd Posted December 31, 2008 Share Posted December 31, 2008 I need the form that I'm making submit the correct way in terms of new lines. For example on a forum when I make a new line, it shows that way in the post. But if I just have my form and even if I skip lines and stuff when submitting, after I put it into the database and get the information back none of the new lines are remembered, how so I solve this? Link to comment https://forums.phpfreaks.com/topic/138966-solved-knowing-when-to-make-a-new-line/ Share on other sites More sharing options...
dropfaith Posted December 31, 2008 Share Posted December 31, 2008 http://www.w3schools.com/PHP/func_string_nl2br.aspĀ i think you need Link to comment https://forums.phpfreaks.com/topic/138966-solved-knowing-when-to-make-a-new-line/#findComment-726804 Share on other sites More sharing options...
vividona Posted December 31, 2008 Share Posted December 31, 2008 $a = nl2br($datail); echo $a; Link to comment https://forums.phpfreaks.com/topic/138966-solved-knowing-when-to-make-a-new-line/#findComment-726807 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.