Retrieve (or simulate) full query from PDO prepared statement
I believe this is mentioned in the original question that was reference in this one. However there is actually supposed to be a method for retrieving this data. PDOStatement::debugDumpParams However it isn’t currently working as documented. There is a bug report and patch submitted for it here http://bugs.php.net/bug.php?id=52384 in case anyone is interested in voting … Read more