Re: [PHP-DB] PDO, fetch prepared statement

2006-11-26 Thread Chris
Rudi Worm wrote: Hi Using PDO to prepare a query, bind som values to it (using ? Placeholders) and then executing it - how do i get the actual query afterwards? With the correct inserted values. Use your system database logs. PDO doesn't give you the opportunity to grab them. --

[PHP-DB] PDO, fetch prepared statement

2006-11-24 Thread Rudi Worm
Hi Using PDO to prepare a query, bind som values to it (using ? Placeholders) and then executing it - how do i get the actual query afterwards? With the correct inserted values. It is needed logging purposes. I haven't been able to find any method or property that gives me this information.