20 | Connect to a Database From a Website Using PHP | 2023 | Learn PHP Full Course for Beginners

preview_player
Показать описание
In this PHP tutorial I will teach you how to connect to a database using PDO, from a website using PHP! 🙂 Connecting to a database is necessary in order to query a database, so learning how to connect to it, is the first step to selecting and inserting data, directly from 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 and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

thank you so much for doing this, you are so good at explaining things and honestly you are giving out so many practical scenarios that happens ALL THE TIME!! I learn so much from your videos and I will watch a lot of times to fully understand all. thank you Dani!!

fangyiru
Автор

Man/bro thank you so mutch, I am working at this moment at PHP project on my University in Poland and I didn't know why my app doesn't work, ed as app, know is working thank you so mucth :)

igorstrzezysz
Автор

As always this video was jam packed with information. It will take some time to decipher all of it. THANK YOU!

davescorneroftheworld
Автор

I really like the flow of your videos, it's slow and methodical with plenty of explanation.

KAREKINFPV
Автор

There are so many videos on the internet. But you are the one who does it correctly.

kasunkumarasinghe
Автор

Man, first of all.. thank you for tutorials like this! But.. are you somehow related to Elon Musk?😂😂

sebeek
Автор

You are doing a great job Dani. Nice contents and nice way to break concepts into simpler ideas.

sampulcodemine
Автор

I reaĺly like your tutorials its clean and straight forward, i started waching your tutorials 2yrs ago, pls make us upgrade to laravel even if it will be a paid course, i will appreciate that Dan.

Africa is watching

rodgence
Автор

I have seen all of 65 episodes of PHP I love it

teddyYo-wfoe
Автор

You're my mentor last 2 years! Right now i started to rebuild my old project in OOP mode, your lessons are right on time. Thanks!!!!

AViStudioMoldova
Автор

this course is worth for $200, but im watching it for free, Thank you Dani!

satishg
Автор

you are doing a great job .plz never stop cz u helped mi a lot

montexart-oghp
Автор

Excellent. Very clear explanation. Thenk you.

zeppelinqaz
Автор

I have no errors now 😌 massive tutorials

samaugustinejunior
Автор

wow ! It was the most informative videos I 've ever seen 😍😍

shahdhossam
Автор

And Another informative session from Dani 😃.

akashgola
Автор

Thank you so much this was really helpful

triumphadeniran
Автор

I'm trying to make a salon reservation webpage, do I need an Index.html or should I only use php?

kaelthunderhoof
Автор

Some question has been on my mind since a while as I am creating some system to record orders during a weekend of the sportsclub (not sure how you call it in English but with the sportsclub we have a 2-day event where we serve food). Anyway, I connect to the database as you do here. And also for the login form for the users (the people taking the orders) I do more or less the same as you do later in this course.
Now I wonder, do you ever connect to the database with the specific user? Now we always connect with the root user and in fact we only check if the user logging in exists and uses the right password. But we never really connect to the database with that specific user, do we? Or do I misunderstand something?
Thanks for giving this you view if and when you have some time.

WillemsWimMH
Автор

I have question please answer me, if I use PDO extension Instead of mysqli, and use (mySQL) in mysqlworkbenck will it work?

AA-fond