<?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: Getting to Know MDB2</title>
	<atom:link href="http://www.linux-mag.com/id/6275/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/6275/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Fri, 10 Feb 2012 08:31:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: vodou</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5481</link>
		<dc:creator>vodou</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5481</guid>
		<description>I&#039;m pretty sure that &lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
if (PEAR::isError ($dbh)) {&lt;br /&gt;
    die(&quot; Error: &quot;. $dbh-&amp; gt;getMessage());&lt;br /&gt;
}&lt;br /&gt;
&#039;database&#039; =&gt; &quot;database&quot;&lt;br /&gt;
);&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
should be&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
if (PEAR::isError ($dbh)) {&lt;br /&gt;
    die(&quot; Error: &quot;. $dbh-&gt;getMessage());&lt;br /&gt;
}&lt;br /&gt;
&#039;database&#039; =&gt; &quot;database&quot;&lt;br /&gt;
);&lt;br /&gt;
&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>
	<item>
		<title>By: ryoung</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5482</link>
		<dc:creator>ryoung</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5482</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.  &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
Thanks for your insight,&lt;br /&gt;
&lt;br /&gt;
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: kurtb149</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5483</link>
		<dc:creator>kurtb149</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5483</guid>
		<description>I recommend using the built-in PDO library:&lt;br /&gt;
&lt;br /&gt;
   http://www.php.net/manual/en/book.pdo.php&lt;br /&gt;
&lt;br /&gt;
The PDO library has all the same DB agnostic features of MDB2 plus some neat features like fetching into an object.&lt;br /&gt;
&lt;br /&gt;
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: davidmintz</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5484</link>
		<dc:creator>davidmintz</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5484</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.&lt;br /&gt;
&lt;br /&gt;
Also, I think there&#039;s an error in a couple of code examples. Where you say:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
$result = $dbh-&gt;query(&quot;select * from employee&quot;);&lt;br /&gt;
while ($row = $result-&gt;fetchRow()) {&lt;br /&gt;
 echo $result[&#039;lastname&#039;];&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
I think you mean $row[&#039;lastname&#039;], not $result[&#039;lastname&#039;]</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['lastname'], not $result['lastname']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvps</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5485</link>
		<dc:creator>rvps</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5485</guid>
		<description>Finally a db abstraction layer that makes sense to me!  (I am always writing fetchOne / fetchAll workarounds)&lt;br /&gt;
&lt;br /&gt;
How about stored procedures with multiple return sets in mySQL5?&lt;br /&gt;
&lt;br /&gt;
Anyone know off the top of thier head if these are supported?&lt;br /&gt;
&lt;br /&gt;
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: pdt256</title>
		<link>http://www.linux-mag.com/id/6275/#comment-5486</link>
		<dc:creator>pdt256</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/6275/#comment-5486</guid>
		<description>You have to use the ODBC Data Source Administrator in Windows to setup the connection:&lt;br /&gt;
http://msdn.microsoft.com/en-us/library/ms714024(VS.85).aspx&lt;br /&gt;
&lt;br /&gt;
There is no ODBC driver for PEAR MDB2 yet. You will have to use PEAR DB:&lt;br /&gt;
http://www.easysoft.com/developer/languages/php/pear-db-odbc.html&lt;br /&gt;
&lt;br /&gt;
Your probably better off porting the database to another back end though. This sounds eerily like a project I&#039;ve worked on in the past.&lt;br /&gt;
&lt;br /&gt;
-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(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms714024(VS.85).aspx</a></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>
</channel>
</rss>

