Build User Login with PHP and MySQL
Querying Users Table with PDO MySQL
In this lesson, we are going to learn how to connect to a MySQL database with the help of PDO library, that is widely used in PHP applications.
In this lesson, we are going to learn:
- What is DSN?
- How to connect to a MySQL database via PDO class?