Jump to content

[SOLVED] hard return from form in database


vampke

Recommended Posts

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 /> ?

Link to comment
https://forums.phpfreaks.com/topic/81228-solved-hard-return-from-form-in-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.