<?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: Using ADO &#038; PHP to query a CSV file</title>
	<atom:link href="http://www.lewisroberts.com/2005/09/18/using-ado-php-to-query-a-csv-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lewisroberts.com/2005/09/18/using-ado-php-to-query-a-csv-file/</link>
	<description>me, on scripting, trance and other subjects i enjoy</description>
	<pubDate>Wed, 07 Jan 2009 14:17:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lewis</title>
		<link>http://www.lewisroberts.com/2005/09/18/using-ado-php-to-query-a-csv-file/comment-page-1/#comment-140</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Thu, 13 Apr 2006 13:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=25#comment-140</guid>
		<description>Hi noisymime,

Thanks for your post, it's the first sensible non-spam comment I've had on this particular post!

I see what you're saying and it could potentially cause confusion but I think in this instance it's because of the way you have to access the recordSet COM object that we use a normal bracket "()" instead of PHP's square brackets "[]". You're actually calling a method of the recordSet object, you're just using PHP's COM interface to do it.

Feel free to test though! :)</description>
		<content:encoded><![CDATA[<p>Hi noisymime,</p>
<p>Thanks for your post, it&#8217;s the first sensible non-spam comment I&#8217;ve had on this particular post!</p>
<p>I see what you&#8217;re saying and it could potentially cause confusion but I think in this instance it&#8217;s because of the way you have to access the recordSet COM object that we use a normal bracket &#8220;()&#8221; instead of PHP&#8217;s square brackets &#8220;[]&#8220;. You&#8217;re actually calling a method of the recordSet object, you&#8217;re just using PHP&#8217;s COM interface to do it.</p>
<p>Feel free to test though! <img src='http://www.lewisroberts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noisymime</title>
		<link>http://www.lewisroberts.com/2005/09/18/using-ado-php-to-query-a-csv-file/comment-page-1/#comment-138</link>
		<dc:creator>noisymime</dc:creator>
		<pubDate>Thu, 13 Apr 2006 02:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lewisroberts.com/?p=25#comment-138</guid>
		<description>Great work on this Lewis, its the only complete example for ADO CSV connections in PHP that I can find!

I'm fairly new to PHP but I think there's a small mistake in the lines that access the ADO resultSet:
echo "\t".ucfirst($recordSet-&#62;Fields($i)-&#62;Name).""."\n";
and
echo "\t\t".$recordSet-&#62;Fields($i)-&#62;Value.""."\n";

The Fields($i) should be Fields[$i]
I know its small but it can drive a newby crazy :)

Thanks again!</description>
		<content:encoded><![CDATA[<p>Great work on this Lewis, its the only complete example for ADO CSV connections in PHP that I can find!</p>
<p>I&#8217;m fairly new to PHP but I think there&#8217;s a small mistake in the lines that access the ADO resultSet:<br />
echo &#8220;\t&#8221;.ucfirst($recordSet-&gt;Fields($i)-&gt;Name).&#8221;".&#8221;\n&#8221;;<br />
and<br />
echo &#8220;\t\t&#8221;.$recordSet-&gt;Fields($i)-&gt;Value.&#8221;".&#8221;\n&#8221;;</p>
<p>The Fields($i) should be Fields[$i]<br />
I know its small but it can drive a newby crazy <img src='http://www.lewisroberts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
