Creating Tables in a Database with phpMyAdmin


  1. This tutorial assumes you've already logged in to phpMyAdmin.
  2. Now let's learn how to create a table within a database.
  3. Select the database here.


  4. Enter a Name for your new table.


  5. Then enter the number of fields this new table is to have. Click Go.


  6. Now enter the details of each field within the new table.


  7. The first field will be called id, and it will be an integer that's 4 characters in length.


  8. We also want this first field to be the Primary key that will be automatically filled in (auto_increment) when new entries are added to the table. Selecting this option makes the id field the Primary key in the table.


  9. The remaining fields will be CHAR (character) fields. Be sure the length is set long enough to accomodate the fields.


  10. When finished, click Save.


  11. That's it! Our new table (details) has been successfully created within our database(demo1234_members) as indicated here.



Be Sociable, Share!
Here's 75 % off, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support