Is there a way to retrieve the query that was used to generate a PDO Prepared statement object?
A:
I don't think that's possible :(
Edit: Ops, never read that comment :P
AntonioCS
2010-02-11 09:21:24
Sure it is possible ;)
DaNieL
2010-02-11 10:56:17
Whenever I use this, it still shows the params as place-holders. Is there anyway to get the string with the params set? The way the DB gets it?
John Isaacks
2010-10-25 13:35:51
You'd have to check your database logs. For MySQL, check this page : http://dev.mysql.com/doc/refman/5.0/en/query-log.html
Arkh
2010-10-26 12:49:05