30: Create a MySQL Table in Database | PHP Tutorial | Learn PHP Programming | PHP for Beginners

Create a MySQL Table in Database | PHP Tutorial | Learn PHP Programming | PHP for Beginners. Today we will learn how to create tables in a database. Tables are used to store data which is related to one another. As an example, if we want to store information on users in a website.

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful 🙂

Material for this lesson: https://www.patreon.com/posts/php-30-download-15629712

Comments

Recommendations says:

I don’t understand the not null
How do we make sure it is not empty?
in other words which data we can insert to id column? just primary key and auto increment?

Gabriel Taylor says:

due to how languages change, you have to add: `subject`, `content` and `date` instead of just: subject, content and date. those marks are not single quotes there are “tick” marks.
those are above the tab button and to the left of the #1 button. i’ve never used them before and when i first had to use them it was a pain in the butt to find out the problem.

Jelmer says:

Why do you need to make a table the hard why?

ScreenPrintR says:

For some reason, I can’t copy and save. Doesn’t anyone know why?

alexsxe says:

THANKS FOR ALL OF THIS INFO MAN…

Umair Mukhtar says:

so much thanks. you have made the MySQL and the SQL very easy. God bless you.

Eos April says:

The hard way is very ok 😉

Yanira Zelaya says:

Very nice tutos, thank you. I thought that Varchar only accepted up to 250 characteres. thank for the info.

Abhishek Bhandari says:

for some reason on the middle of the screen its displaying :
 ERROR IN PROCESSING POST
ERROR CODE 200
ERROR TEXT OK

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!