⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

Creating a MySQL Table with PHP

Once the database is created, we need to create tables inside it to store data. The CREATE TABLE statement is used to define the table structure (column names, data types). In the example below, we will create a table named mysqli_tabela with four columns: ID, fruit, vegetable, and a timestamp.

EXAMPLE
RESULT
The result will be displayed here...

Did you create your first table? Congratulations! In the simulator below, you can see the success confirmation, but you can verify this on your local computer (XAMPP) in the following way: