<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: DB-2-MDB2</title>
	<link>http://www.phpied.com/db-2-mdb2/</link>
	<description>Stoyan's blog about (x)html, ajax, bookmarklets, browsers, css, firebug, javascript, json, mdb2, mysql, pear, performance, php, phpbb, tools, yslow, yui, writing, music,... life and everything.</description>
	<pubDate>Mon, 12 May 2008 12:36:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: khiem</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-64203</link>
		<pubDate>Thu, 17 Apr 2008 04:00:14 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-64203</guid>
					<description>Hi All!

I have a problem with this code. I use mdb2 with utf8 unicode.

require_once('libs/PEAR/MDB2.php');
$dsn = &quot;mysql://root:123456@localhost/daianvn&quot;;
$mdb2 = &amp;#38;MDB2::factory($dsn);
$mdb2-&amp;#62;setCharset('utf8');
$smt = $mdb2-&amp;#62;prepare(&quot;select * from dasc_users where username=?&quot;);
var_dump($smt);

$smt is error object instead statement_object. Please tell me why? When I remove $mdb-&amp;#62;setCharset('utf8'). It's Ok.</description>
		<content:encoded><![CDATA[<p>Hi All!</p>
<p>I have a problem with this code. I use mdb2 with utf8 unicode.</p>
<p>require_once('libs/PEAR/MDB2.php');<br />
$dsn = "mysql://root:123456@localhost/daianvn";<br />
$mdb2 = &amp;MDB2::factory($dsn);<br />
$mdb2-&gt;setCharset('utf8');<br />
$smt = $mdb2-&gt;prepare("select * from dasc_users where username=?");<br />
var_dump($smt);</p>
<p>$smt is error object instead statement_object. Please tell me why? When I remove $mdb-&gt;setCharset('utf8'). It's Ok.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: John</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-63476</link>
		<pubDate>Mon, 07 Jan 2008 21:55:34 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-63476</guid>
					<description>Thanks, this is great, you saved me a couple of headaches.</description>
		<content:encoded><![CDATA[<p>Thanks, this is great, you saved me a couple of headaches.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Matt</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-63359</link>
		<pubDate>Fri, 14 Dec 2007 21:52:59 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-63359</guid>
					<description>Great writeup! I use it quite often! One area I would like to see expanded is the MDB2 error catching. Thanks!</description>
		<content:encoded><![CDATA[<p>Great writeup! I use it quite often! One area I would like to see expanded is the MDB2 error catching. Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Stoyan</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-63263</link>
		<pubDate>Mon, 26 Nov 2007 10:44:42 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-63263</guid>
					<description>Hi Joseph,

You could probably take a look at the PEAR manual for easy examples on how to get started with MDB2. 
&lt;a href=&quot;http://pear.php.net/manual/en/package.database.mdb2.php&quot; rel=&quot;nofollow&quot;&gt;http://pear.php.net/manual/en/package.database.mdb2.php&lt;/a&gt;

You can also download this free chapter of the PEAR book, written by yours truly
&lt;a href=&quot;http://www.packtpub.com/files/SampleChapter-PHP-Programming-with-PEAR.pdf&quot; rel=&quot;nofollow&quot;&gt;http://www.packtpub.com/files/SampleChapter-PHP-Programming-with-PEAR.pdf&lt;/a&gt;
(you should jump to page 11 of the PDF)</description>
		<content:encoded><![CDATA[<p>Hi Joseph,</p>
<p>You could probably take a look at the PEAR manual for easy examples on how to get started with MDB2.<br />
<a href="http://pear.php.net/manual/en/package.database.mdb2.php" rel="nofollow"><a href='http://pear.php.net/manual/en/package.database.mdb2.php' rel='nofollow'>http://pear.php.net/manual/en/package.database.mdb2.php</a></a></p>
<p>You can also download this free chapter of the PEAR book, written by yours truly<br />
<a href="http://www.packtpub.com/files/SampleChapter-PHP-Programming-with-PEAR.pdf" rel="nofollow"><a href='http://www.packtpub.com/files/SampleChapter-PHP-Programming-with-PEAR.pdf' rel='nofollow'>http://www.packtpub.com/files/SampleChapter-PHP-Programming-with-PEAR.pdf</a></a><br />
(you should jump to page 11 of the PDF)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Joseph</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-63256</link>
		<pubDate>Fri, 23 Nov 2007 10:38:21 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-63256</guid>
					<description>Hi....

I am conpletely new to the PEAR thing and dont even know how to install the thing. I have uploaded all the files i got from the MDB2 file i downloaded to a shared hosting. But dont know what to do with it after that. OR even where to put the info for my database name and password etc....

 Can anyone help</description>
		<content:encoded><![CDATA[<p>Hi&#8230;.</p>
<p>I am conpletely new to the PEAR thing and dont even know how to install the thing. I have uploaded all the files i got from the MDB2 file i downloaded to a shared hosting. But dont know what to do with it after that. OR even where to put the info for my database name and password etc&#8230;.</p>
<p> Can anyone help
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: meble biurowe</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-62716</link>
		<pubDate>Thu, 11 Oct 2007 10:37:30 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-62716</guid>
					<description>Thanks for this article. I like your posts</description>
		<content:encoded><![CDATA[<p>Thanks for this article. I like your posts
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Barrett Myers &#187; Blog Archive &#187; Pear MDB2 converts empty strings to nulls</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-62482</link>
		<pubDate>Fri, 21 Sep 2007 04:45:00 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-62482</guid>
					<description>[...] According to one comment that I read, an additional option that might be good to set is MDB2_PORTABILITY_EMPTY_TO_NULL. At the moment though, I&amp;#8217;m not 100% sure how to set both options at once. I found a workaround for the time being, but will post this as a bug in eventum so we can decide what to do about it. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] According to one comment that I read, an additional option that might be good to set is MDB2_PORTABILITY_EMPTY_TO_NULL. At the moment though, I&#8217;m not 100% sure how to set both options at once. I found a workaround for the time being, but will post this as a bug in eventum so we can decide what to do about it. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tłumaczenia angielski</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-62469</link>
		<pubDate>Thu, 20 Sep 2007 05:43:11 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-62469</guid>
					<description>Thanx a lot! This is very useful.</description>
		<content:encoded><![CDATA[<p>Thanx a lot! This is very useful.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Marin Todorov</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-62129</link>
		<pubDate>Wed, 05 Sep 2007 13:41:08 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-62129</guid>
					<description>thanks - very helpful article.
it's good when somebody puts efforts into knowledge to share it afterwards</description>
		<content:encoded><![CDATA[<p>thanks - very helpful article.<br />
it's good when somebody puts efforts into knowledge to share it afterwards
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Becky</title>
		<link>http://www.phpied.com/db-2-mdb2/#comment-62067</link>
		<pubDate>Fri, 31 Aug 2007 21:20:51 +0000</pubDate>
		<guid>http://www.phpied.com/db-2-mdb2/#comment-62067</guid>
					<description>This is one of the most helpful sites I've seen in a long time! Thanks for doing this.</description>
		<content:encoded><![CDATA[<p>This is one of the most helpful sites I've seen in a long time! Thanks for doing this.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
