Creating a table in a database with phpMyAdmin

This tutorial assumes you've already logged in to phpMyAdmin.

Now let's learn how to create a table within a database.

First, select the database in which you want to create a table.

Enter a name for the table.

Enter the number of fields this table is to have, then click Go.

Next, enter the details for each field including a name and field type.

Let's make this first field the Primary Key, and we'll click here to make it Auto_Increment.

The remaining fields will be character fields. Be sure the length is set long enough to accomodate the field values.

When finished, click Save.

That's it! Our new table has been created within our database.

This is the end of the tutorial. You now know how to create database tables with phpMyAdmin.

Hai trovato utile questa risposta? 0 Utenti hanno trovato utile questa risposta (0 Voti)