MadDawgX Posted October 27, 2006 Share Posted October 27, 2006 Hey there. I've got a comment type of system made where users can submit a form and its added to a database, but it always comes out as one big paragraph.[b]Eg:[/b]This thing is Great.Awesome work! - So-and-So[b]Would come out as:[/b]This thing is Great. Awesome work! - So-and-SoWhat do I need to do so it'll be in its paragraphs? Link to comment https://forums.phpfreaks.com/topic/25351-formatting/ Share on other sites More sharing options...
Barand Posted October 27, 2006 Share Posted October 27, 2006 When you extract it from the db to display on the page useecho nl2br($db_comments); Link to comment https://forums.phpfreaks.com/topic/25351-formatting/#findComment-115578 Share on other sites More sharing options...
MadDawgX Posted October 27, 2006 Author Share Posted October 27, 2006 thanx. Link to comment https://forums.phpfreaks.com/topic/25351-formatting/#findComment-115591 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.