How-to articles, tricks, and solutions about PDO
Checking for an empty result (PHP, PDO, and MySQL)
In PHP, you can use the PDO (PHP Data Objects) extension to interact with a MySQL database.
Connect to SQL Server through PDO using SQL Server Driver
Here is an example of how to connect to a SQL Server database using PDO and the SQL Server driver:
Error when preparing a multiple insert query
There are a few things that could cause an error when preparing a multiple insert query in PHP.
How to properly set up a PDO connection
To set up a PDO connection, you will need to do the following:
mysqli or PDO - what are the pros and cons?
mysqli and PDO are both PHP extensions used for interacting with databases.