Jump to content

saving paragraphs in multiline to mysql


steven121

Recommended Posts

This might seem like a really silly question but how can i keep the format of posted text into a mysql database. e.g. i have a multiline textarea as part of a form. When i post this form to my php script I am saving all the data into the mysql database. However if the user makes carrage returns or copies text into the textarea that has paragraphs, I want to keep these paragraph format and saved into the database so i can echo out to a page and retain the format.

Link to comment
https://forums.phpfreaks.com/topic/182542-saving-paragraphs-in-multiline-to-mysql/
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.