vampke Posted December 11, 2007 Share Posted December 11, 2007 Hi people, I using a php form in a webpage and storing the results from the form in a mysql database. Now the script will disregard hard returns when collecting from the database. The results are put in html I tried solving this by entering <br /> manually in the forms, but I'm thinking there must be an easier way... How can i make the POST script put the hard returns in the database as <br /> ? Quote Link to comment Share on other sites More sharing options...
JacobYaYa Posted December 11, 2007 Share Posted December 11, 2007 nl2br()? Quote Link to comment Share on other sites More sharing options...
vampke Posted December 18, 2007 Author Share Posted December 18, 2007 sorry for late reaction, lost track of this :/ exactly what i was looking for! thank you very much! 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.