Creating a Table Tutorial


This is the continuation of the Creating a Database tutorial. After creating your database, you can follow this tutorial to learn how to create a table inside of it.



What you need


In this tutorial, I'm going to use PHPmyAdmin which is available in many hosts including mine,Dreamhost. In addition, your host needs to support PHP and MySQL.

Setting Up Your Table


Click PHPmyAdmin (it's beside your hostname on Dreamhost). Once you've clicked it, login. You will see something similar to this:



See the drop down list on the left navigation? Select it and click on your database.

Adding the code


After reaching to the database, click SQL and paste this code:



Hold on! This won't do anything!
Explanation
"Create the table" is the command to create the table inside the database, "name" is the name of the table.



This code will create the database with a date that you can insert.