Create Database with PDO

Create Database with PDO

PHP will work with virtually all database software, including Oracle and Sybase but most commonly used is freely available MySQL database.

What is PDO?
PDO refers to PHP Data Object, which is a PHP extension that defines a lightweight and consistent interface for accessing a database in PHP. It is a set of PHP extensions which provide a core PDO class and database-specific driver. Each database driver can expose database-specific features as a regular extension function that implements the PDO interface.

The following PDO example create a database named 'my_first_database':
June 16, 2021
phpdatabasepdo
Crypto Advertising Network