In PHP with PDO, how to check the final SQL parametrized query?

Viewed 153179

In PHP, when accessing MySQL database with PDO with parametrized query, how can you check the final query (after having replaced all tokens)?

Is there a way to check what gets really executed by the database?

9 Answers
Related