How to insert data from textarea to database - Phptpoint.com

MySQL

Insert Data From Textarea To Database



How to insert data from textarea to database PHP

Create HTML Form(four fileds: email,textaerea,save button and display button)
Create a database demo. crate a database table “textarea” with three columns:id,email,message.
Connect php with mysqli. Enter your emailid and data from HTML Form, to save in textarea table click on save button. After insertion if you want to display data then click on display button, data will displayed in tabular format.

Create Database and Table

PHP Script

HTML Form