Advance Practical PHP | PDO (PHP Data Objects) - video #37

Описание к видео Advance Practical PHP | PDO (PHP Data Objects) - video #37

In this video I am going to show how to connect to your database and display all contents.

We will connect to the database using the PDO (PHP Data Object). It is a lightweight, consistent framework for accessing your database.

It is better than using the “MySQLi” extension allows you to access the functionality provided by “MySQL 4.1” and above.

PHP's MySQL-related extensions, such as the “MySQLi" extension, and the “PDO MySQL” driver extension, are implemented using the PHP extension framework.

First, I am going to assign two constants with a variable and then a variable to hold the DSN (Data Source Name) information.

Комментарии

Информация по комментариям в разработке