<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Getting to Know MDB2</title>
	<link>http://www.linux-mag.com/id/6275/</link>
	<description>Open Source, Open Standards</description>
	<pubDate>Wed, 03 Dec 2008 22:29:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: pdt256</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1212</link>
		<pubDate>Wed, 25 Jun 2008 06:01:52 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1212</guid>
					<description>You have to use the ODBC Data Source Administrator in Windows to setup the connection:
http://msdn.microsoft.com/en-us/library/ms714024(VS.85).aspx

There is no ODBC driver for PEAR MDB2 yet. You will have to use PEAR DB:
http://www.easysoft.com/developer/languages/php/pear-db-odbc.html

Your probably better off porting the database to another back end though. This sounds eerily like a project I've worked on in the past.

-JI</description>
		<content:encoded><![CDATA[<p>You have to use the ODBC Data Source Administrator in Windows to setup the connection:<br />
<a href="http://msdn.microsoft.com/en-us/library/ms714024" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms714024</a>(VS.85).aspx</p>
<p>There is no ODBC driver for PEAR MDB2 yet. You will have to use PEAR DB:<br />
<a href="http://www.easysoft.com/developer/languages/php/pear-db-odbc.html" rel="nofollow">http://www.easysoft.com/developer/languages/php/pear-db-odbc.html</a></p>
<p>Your probably better off porting the database to another back end though. This sounds eerily like a project I&#8217;ve worked on in the past.</p>
<p>-JI
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: rvps</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1203</link>
		<pubDate>Thu, 19 Jun 2008 15:39:53 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1203</guid>
					<description>Finally a db abstraction layer that makes sense to me!  (I am always writing fetchOne / fetchAll workarounds)

How about stored procedures with multiple return sets in mySQL5?

Anyone know off the top of thier head if these are supported?

Thanks!</description>
		<content:encoded><![CDATA[<p>Finally a db abstraction layer that makes sense to me!  (I am always writing fetchOne / fetchAll workarounds)</p>
<p>How about stored procedures with multiple return sets in mySQL5?</p>
<p>Anyone know off the top of thier head if these are supported?</p>
<p>Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: davidmintz</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1201</link>
		<pubDate>Thu, 19 Jun 2008 14:35:26 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1201</guid>
					<description>Very nice, but it seems that nowadays, for complex projects, your best bet is a reputable MVC framework which ships with its own DBAL.

Also, I think there's an error in a couple of code examples. Where you say:
&lt;code&gt;
$result = $dbh-&#62;query("select * from employee");
while ($row = $result-&#62;fetchRow()) {
 echo $result['lastname'];
}
&lt;/code&gt;

I think you mean $row['lastname'], not $result['lastname']</description>
		<content:encoded><![CDATA[<p>Very nice, but it seems that nowadays, for complex projects, your best bet is a reputable MVC framework which ships with its own DBAL.</p>
<p>Also, I think there&#8217;s an error in a couple of code examples. Where you say:<br />
<code><br />
$result = $dbh-&gt;query("select * from employee");<br />
while ($row = $result-&gt;fetchRow()) {<br />
 echo $result['lastname'];<br />
}<br />
</code></p>
<p>I think you mean $row[&#8217;lastname&#8217;], not $result[&#8217;lastname&#8217;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kurt Brown</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1200</link>
		<pubDate>Thu, 19 Jun 2008 14:22:48 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1200</guid>
					<description>I recommend using the built-in PDO library:

   http://www.php.net/manual/en/book.pdo.php

The PDO library has all the same DB agnostic features of MDB2 plus some neat features like fetching into an object.

I think the MDB2 folk should take any features not in PDO and just extend PDO with them.</description>
		<content:encoded><![CDATA[<p>I recommend using the built-in PDO library:</p>
<p>   <a href="http://www.php.net/manual/en/book.pdo.php" rel="nofollow">http://www.php.net/manual/en/book.pdo.php</a></p>
<p>The PDO library has all the same DB agnostic features of MDB2 plus some neat features like fetching into an object.</p>
<p>I think the MDB2 folk should take any features not in PDO and just extend PDO with them.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ryoung</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1199</link>
		<pubDate>Thu, 19 Jun 2008 14:13:27 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1199</guid>
					<description>Great intro Grant!  I have a question...my situation requires an Access database running on a windoze XP box for the main office proprietary application.  

I am writing another browser application using PHP and MySql on a Linux box that will use data from the Access database and add considerable functionality.

Previously I have tried odbtp here in my office with limited success but am wondering if MDB2 has the ability to connect my Linux PHP application to Access mdb files on a windoze box?

Thanks for your insight,

Ron</description>
		<content:encoded><![CDATA[<p>Great intro Grant!  I have a question&#8230;my situation requires an Access database running on a windoze XP box for the main office proprietary application.  </p>
<p>I am writing another browser application using PHP and MySql on a Linux box that will use data from the Access database and add considerable functionality.</p>
<p>Previously I have tried odbtp here in my office with limited success but am wondering if MDB2 has the ability to connect my Linux PHP application to Access mdb files on a windoze box?</p>
<p>Thanks for your insight,</p>
<p>Ron
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: vodou</title>
		<link>http://www.linux-mag.com/id/6275/#comment-1198</link>
		<pubDate>Thu, 19 Jun 2008 14:10:52 +0000</pubDate>
		<guid>http://www.linux-mag.com/id/6275/#comment-1198</guid>
					<description>I'm pretty sure that 
&lt;code&gt;
if (PEAR::isError ($dbh)) {
    die(" Error: ". $dbh-&#38; gt;getMessage());
}
'database' =&#62; "database"
);
&lt;/code&gt;

should be

&lt;code&gt;
if (PEAR::isError ($dbh)) {
    die(" Error: ". $dbh-&#62;getMessage());
}
'database' =&#62; "database"
);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure that<br />
<code><br />
if (PEAR::isError ($dbh)) {<br />
    die(" Error: ". $dbh-&amp; gt;getMessage());<br />
}<br />
'database' =&gt; "database"<br />
);<br />
</code></p>
<p>should be</p>
<p><code><br />
if (PEAR::isError ($dbh)) {<br />
    die(" Error: ". $dbh-&gt;getMessage());<br />
}<br />
'database' =&gt; "database"<br />
);<br />
</code>
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
