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? Quote Link to comment 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); Quote Link to comment Share on other sites More sharing options...
MadDawgX Posted October 27, 2006 Author Share Posted October 27, 2006 thanx. 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.