Get query back from PDO prepared statement

ChrisR picture ChrisR · Feb 11, 2010 · Viewed 49.4k times · Source

Is there a way to retrieve the query that was used to generate a PDO Prepared statement object?

Answer

Arkh picture Arkh · Feb 11, 2010