Question: how pdo works in php?
Answer: "PDO - PHP Data Objects - is a database access layer providing a uniform method of access to multiple databases." It doesn't account for database-specific syntax, but can allow for the process of switching databases and platforms to be fairly painless, simply by switching the connection string in many instances.