<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Database Query Logging with PDO</title>
	<atom:link href="http://www.coderholic.com/php-database-query-logging-with-pdo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coderholic.com/php-database-query-logging-with-pdo/</link>
	<description>Addicted to Development</description>
	<lastBuildDate>Sun, 05 Sep 2010 22:12:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: henk</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-6014</link>
		<dc:creator>henk</dc:creator>
		<pubDate>Mon, 09 Nov 2009 14:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-6014</guid>
		<description>This doesn&#039;t actually print the queries that were executed, but instead the original statement with question marks or colons. Also, execute () accepts an array whereas this wrapper does not. It&#039;s easy to fix, but it won&#039;t fill in the bound parameters. Is there a way to get the actual query from PDO?</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t actually print the queries that were executed, but instead the original statement with question marks or colons. Also, execute () accepts an array whereas this wrapper does not. It&#8217;s easy to fix, but it won&#8217;t fill in the bound parameters. Is there a way to get the actual query from PDO?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Taylor</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-5923</link>
		<dc:creator>Tom Taylor</dc:creator>
		<pubDate>Tue, 03 Nov 2009 09:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-5923</guid>
		<description>Excellent.
Saved me time and worked a treat. What I loved most ? No bloat.

Sick of looking for quick simple solutions only to find I have to download a zip containing a readme, 3/4 sample files, classes, includes..etc  and about 800 lines to do the job.</description>
		<content:encoded><![CDATA[<p>Excellent.<br />
Saved me time and worked a treat. What I loved most ? No bloat.</p>
<p>Sick of looking for quick simple solutions only to find I have to download a zip containing a readme, 3/4 sample files, classes, includes..etc  and about 800 lines to do the job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-4824</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 28 Aug 2009 20:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-4824</guid>
		<description>Petsagourakis George: Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Petsagourakis George: Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-4765</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Tue, 25 Aug 2009 22:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-4765</guid>
		<description>Thx.
BTW, add 

public function  __get($name) {
    return $this-&gt;statement-&gt;$name;
}

in LoggedPDOStatement.</description>
		<content:encoded><![CDATA[<p>Thx.<br />
BTW, add </p>
<p>public function  __get($name) {<br />
    return $this-&gt;statement-&gt;$name;<br />
}</p>
<p>in LoggedPDOStatement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petsagourakis George</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-4756</link>
		<dc:creator>Petsagourakis George</dc:creator>
		<pubDate>Tue, 25 Aug 2009 11:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-4756</guid>
		<description>For the LoggedPDOStatement class you can use the PDO::ATTR_STATEMENT_CLASS option.

Usage:
PDO::ATTR_STATEMENT_CLASS =&gt; &#039;LoggedPDOStatement&#039;,

This must be passed while creating the PDO object or using the PDO-&gt;setAttribute function on the created PDO object.

Consult the documentation on that.

Thanks for sharing this code ;)</description>
		<content:encoded><![CDATA[<p>For the LoggedPDOStatement class you can use the PDO::ATTR_STATEMENT_CLASS option.</p>
<p>Usage:<br />
PDO::ATTR_STATEMENT_CLASS =&gt; &#8216;LoggedPDOStatement&#8217;,</p>
<p>This must be passed while creating the PDO object or using the PDO-&gt;setAttribute function on the created PDO object.</p>
<p>Consult the documentation on that.</p>
<p>Thanks for sharing this code <img src='http://www.coderholic.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-4670</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 20 Aug 2009 22:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-4670</guid>
		<description>Hi Alister,

Good point, thanks. I changed the &quot; quotes in my code to &#039; for the blog. 

Thanks, Ben</description>
		<content:encoded><![CDATA[<p>Hi Alister,</p>
<p>Good point, thanks. I changed the &#8221; quotes in my code to &#8216; for the blog. </p>
<p>Thanks, Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alister Cameron // Blogologist</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-4444</link>
		<dc:creator>Alister Cameron // Blogologist</dc:creator>
		<pubDate>Sat, 08 Aug 2009 06:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-4444</guid>
		<description>Minor detail...

Carriage returned indicated as \n do now work within single-quoted strings.

Change the ends of those lines to: blablebla&#039;.&quot;\n&quot;;

Hope that makes sense.

-Alister</description>
		<content:encoded><![CDATA[<p>Minor detail&#8230;</p>
<p>Carriage returned indicated as \n do now work within single-quoted strings.</p>
<p>Change the ends of those lines to: blablebla&#8217;.&#8221;\n&#8221;;</p>
<p>Hope that makes sense.</p>
<p>-Alister</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-2975</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Sun, 03 May 2009 16:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-2975</guid>
		<description>This will return an error if parameter will be passed. So to prevent that, you need to add additional variable to execute() function.</description>
		<content:encoded><![CDATA[<p>This will return an error if parameter will be passed. So to prevent that, you need to add additional variable to execute() function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ofer</title>
		<link>http://www.coderholic.com/php-database-query-logging-with-pdo/comment-page-1/#comment-2517</link>
		<dc:creator>ofer</dc:creator>
		<pubDate>Thu, 19 Mar 2009 13:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderholic.com/?p=164#comment-2517</guid>
		<description>GREAT!!!!
This helped me a lot.

Thanks again</description>
		<content:encoded><![CDATA[<p>GREAT!!!!<br />
This helped me a lot.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
</channel>
</rss>
