I need to add a text box to a form with facility to format text (like bold/ italic, add tables and so on) to my web page (PHP). And I want to save it to a MYSQL database as it is. So later if I load the page, the text should be there with the formatting. How can I achieve this? Or is there any way to copy past a formatted text from MS word to a text area with formatting and save in a database?
You can use libraries like
- CK EDITOR
These text box provides formatting text and saved into database as HTML format.