Skip to content

rupasrigithub/Connecting-HTML-Form-With-MYSQL-Database-Using-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Step 1:

i) Set up your MySQL database Install MySQL on your server if you haven't already. Create a new database and a table to store your form data.

For example:

CREATE DATABASE mydatabase;

USE mydatabase;

CREATE TABLE mytable (

id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(50),
email VARCHAR(50),
message TEXT

);

Step 2: Install XAMMPP server on you system if you haven't already. Before start Registering Details start the Apache and MYSQL on XAMMPP Control Pannel. Lets 'see in the below image image

Step 3: Create an HTML form Create a new HTML file (index.html for example) with a form that collects the necessary information:

image

Step 4: By Registering the details can be stored in the database:

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published