Translate

In this Tutorial, We are going to show that How to insert data-field values into the MySQL database using PHP Coding.

So Now executing all the process, First create database with name (mydatabase) into the WAMP server that is made for Windows Apache Server. Then create one table into this database with 4 data fields.

NOTE: - Here we are creating 4 fields because first field always made for unique field like ID or PID for uniquely identified.

First     - ID or PID
Second  - Name
Third    - Number
Fourth  - Address

Now database creation work is completed.

Now we have to insert some value into this database using PHP coding.
Just create one HTML page and make 3 field from which our PHP coding will get the data for storing into the database.

Now PHP coding is like: -
This Code is used for Connect with database or Communicating with our database.



Now Final PHP Code is: -


Thanks If you have any query then feel free to contact Us or you can ask your query related to Advanced Programming Also.

0 comments:

Post a Comment

 
Top