Insert form data into a mysql database using php step by step

1) Create a php folder into my FTP.
2) Create and Connect MYSQL Database.
3) Create a Table into my Database.
4) Write code into your PHP file.

Create a php folder into my FTP

  • Go to your FTP right click and create a folder with any name

Create a MYSQL Database

  • Go to your cpanel. Click phpmyadmin.
  • Click on Databases. Enter the database name then click on Create button.

Connect MYSQL Database

  • Go to your text editor(notpad++ or other text editor that you are using). Create a new file with any name and save it into your folder (Note-Save your file .php extension.).
  • Create connection MYSQL Database with php. Click and see How to connect MYSQL Database with php?

Create a Table into my Database.

  • Go to your phpmyadmin. Click on your Database.
  • Enter table name and number of columns then click on Go button.

Like it? Share with your friends!

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
1
omg
Anu Shukla

0 Comments

Your email address will not be published. Required fields are marked *

19 − 7 =

Choose A Format
Personality quiz
Series of questions that intends to reveal something about the personality
Trivia quiz
Series of questions with right and wrong answers that intends to check knowledge
Poll
Voting to make decisions or determine opinions
Story
Formatted Text with Embeds and Visuals
List
The Classic Internet Listicles
Countdown
The Classic Internet Countdowns
Open List
Submit your own item and vote up for the best submission
Ranked List
Upvote or downvote to decide the best list item
Meme
Upload your own images to make custom memes
Video
Youtube, Vimeo or Vine Embeds
Audio
Soundcloud or Mixcloud Embeds
Image
Photo or GIF
Gif
GIF format