16: Connect To A Database Using OOP PHP | PDO Tutorial | Object Oriented PHP Tutorial | PHP Tutorial

preview_player
Показать описание
In this OOP PHP tutorial, I will show you how to connect to a database using OOP PHP. In the next few episodes we will focus on how to interact with databases using PDO

➤ MEET OTHER AWESOME PEOPLE!

FollowAndrew
With over 20 years experience, Andrew is creating web & front-end design tutorial videos!

➤ 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 :)

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

Daniel was one of my first teachers in PHP, and learning some of the basic techniques was pretty easy to understand because of how he deliver the technicalities of some SPL.

virtualworkers
Автор

Thank you so much! Can't wait for the next OOP PHP tutorial on how to insert and gather information from the database. Keep up the good work!

jjuless
Автор

This is so requested by php beginners! Great job!

ProgrammingwithPeter
Автор

East & Brain is the BEST in programming....Cause....They understand the problems CLEARLY....They go through the steps explain the complex staffs mmtuts is just Life Saving Awesome....More time I spend with you....More get addicted to know from you....Thanks....& All The Best...Thumbs Up..!!

kazimrahman
Автор

You're missing out to wrap this up in a try catch. Also, it should be recommended to keep credentials inside a config file - even if you don't work with git/bigger teams, just for habbit reasons.

movyl
Автор

Looking forward to the next episode! Thank you for your time and effort! Much appreciated!!

DereckNoom
Автор

you're creating a good ripple effect on the world, good for us

jsr
Автор

Hi, I just want to thank you for the amazing tutorials of PHP, I learned so much from them, can you please make a video about the testing methods of a web application built with PHP, A lot of people complete the projects and don't have an idea how to test the web application properly and I'm one of them, thanks

WhiteHatRoad
Автор

love the way that you remind some basic things time by time. like $this-> for property . Even though its basic but really effective for the beginners who might have forgot that and i am one of them.

hey-simba
Автор

Thanks a lot for teaching me almost everything about OOP PHP. You're the best one.

volume
Автор

I really enjoy your tutorials. You present useful information in a clear, easy to understand manner. i'm a proyd supporter of mmtuts.

stormybear
Автор

@mmtuts We are currently missing import / update / select oop pdo tutorials, along with login system with oop pdo


Please when you have time create them.

ReachOutWorld
Автор

Thanks pretty straight forward lecture!

_uchejnr
Автор

Dude, your great - seriously classes used to scare the **** of me. Well done man. You rock.

noderole
Автор

Mr. Daniel, I have learned a lot from you especially oop php. Could you make another video teaching oop php with mvc, database, and using transaction, commit, rollback feature. Thank's

aguswidi
Автор

Great work so far, thx a lot :) btw think you should have shown how to close the connection.

aleksandartrisic
Автор

Thanks! Great tutorial! Wonderful explained!
Also imortant to make things easier with character modes, add to the Dbh class:
private $charset = 'utf8mb4';
and add it to $dsn:
$dsn = 'mysql:host=' . $this->db_host . ';dbname=' . $this->db_name . ';charset=' . $this->charset;

hansratzingerselbstandiger
Автор

Thank you Master mmtuts, Luv from CN!

newsomething
Автор

Thank you for making this educative content, it really helps a lot of people. Keep it up.

sebastiansernavasco
Автор

I am waiting for the next course so much

blazehunter
visit shbcf.ru