Monday 24 September 2012

PhpMyAdmin in php

The following are the simple steps to connect php and mysql.

Step1:

Open the wamp server and select phpmyadmin. The following page will appear in browser.

Step 2:
Select database tab and we can see the create new database box. Enter the name of the database in the text box and click create button.
Once the database is created it can be displayed in the left side as in above pic.

Step3:
Select the database we had created. Then we can see this window.


Enter the table name and the no of columns..Here the table name is sample and no of cols are 2. Then click go button.. We can see the following window.

Step4:
Enter the column name and datatype in both columns and click save.
These are the simplest steps to create table in mysql.


No comments:

Post a Comment