Jamaica trevoir.williams@gmail.com

Connect To MySQL using PHP PDO

Read Post
Share on:

This lesson shows us how to connect to a database using PHP Data Objects (PDO).

In our previous lesson, we created a database for our application using phpMyAdmin. Now we need to connect to this database from our web application. This connection will allow us to build interfaces that abstract the data to the web interface and allow us to manipulate it at will.

In this lesson, we begin to supporting code to our application to facilitate the database connection.

If you liked this video and would like to see some more lessons, please subscribe to my YouTube Channel and/or leave a comment below.

If you are new to PHP and would like to understand basic syntax, then you can complete this free PHP Basics course.

Jump start your PHP career today!

Trevoir Williams

Jamaican Software Engineer and Lecturer.