Database Connection With PDO
Learn how to connect a PHP script to MySQL, using the PDO extension.
We'll cover the following...
PDO (PHP Data Objects) is an extension that enables connection to any SQL database.
Let’s see how we can use this extension.
At the root our project, we’ll create a new file and call it install.php
. Inside the file, we’ll create a new PDO()
and store it ...