O'Reilly logo
  • miraj Desai thinks this is interesting:

The PDO object we have stored in $pdo has a method called exec that we can use to send SQL queries to the database to be executed. Here’s what that looks like: