jwk811 Posted April 19, 2009 Share Posted April 19, 2009 when someone submits a textarea form it will go in the database. only problem is it doesnt make the spaces so it all comes out bunches together when i want the line spaces to be there. i dont know if its with the php, html, or mysql database itself please help seems like something easy i just cant figure it out ive been looking on google cant find anything gahhh Quote Link to comment Share on other sites More sharing options...
jOE :D Posted April 19, 2009 Share Posted April 19, 2009 Have you tried using nl2br() before outputting the information from the database? http://us2.php.net/nl2br Quote Link to comment Share on other sites More sharing options...
jwk811 Posted April 19, 2009 Author Share Posted April 19, 2009 but it gets submitted to the database however they right in the textarea i dont understand how that would work Quote Link to comment Share on other sites More sharing options...
jwk811 Posted April 19, 2009 Author Share Posted April 19, 2009 nevermind i understand it now and it works THANKS! Quote Link to comment Share on other sites More sharing options...
jOE :D Posted April 19, 2009 Share Posted April 19, 2009 Glad to help!! 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.