<?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: Outputing a MySQL result in a HTML table</title>
	<atom:link href="http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Sat, 05 May 2012 15:50:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Jexus</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-533</link>
		<dc:creator>Jexus</dc:creator>
		<pubDate>Thu, 30 Mar 2006 00:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-533</guid>
		<description>Just wondering, you do an is_numeric check, after which you cast the value to an integer. This is of course, wrong, as it could also be like 2.3, after which the value would be 0? Correct me if i&#039;m wrong;)

[Editor&#039;s Note: Fixed, thanks!]</description>
		<content:encoded><![CDATA[<p>Just wondering, you do an is_numeric check, after which you cast the value to an integer. This is of course, wrong, as it could also be like 2.3, after which the value would be 0? Correct me if i&#8217;m wrong;)</p>
<p>[Editor's Note: Fixed, thanks!]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Firman</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-431</link>
		<dc:creator>Firman</dc:creator>
		<pubDate>Mon, 03 Oct 2005 13:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-431</guid>
		<description>Just a bit addition at the first line of function, to avoid the errors.

if (!is_resource($result) &#124;&#124; get_resource_type != &#039;mysql result&#039;) {
  return false;
}

[Editor&#039;s Note: Thanks firman :)]</description>
		<content:encoded><![CDATA[<p>Just a bit addition at the first line of function, to avoid the errors.</p>
<p>if (!is_resource($result) || get_resource_type != &#8216;mysql result&#8217;) {<br />
  return false;<br />
}</p>
<p>[Editor's Note: Thanks firman <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tosa</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-94</link>
		<dc:creator>Tosa</dc:creator>
		<pubDate>Sun, 14 Nov 2004 18:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-94</guid>
		<description>Thank you! This saved my day!</description>
		<content:encoded><![CDATA[<p>Thank you! This saved my day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jumbobrian</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-85</link>
		<dc:creator>Jumbobrian</dc:creator>
		<pubDate>Sat, 06 Nov 2004 18:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-85</guid>
		<description>i love this script, and have modified to to my needs successfully.  just one idea... have you considered making the table colored?  if you alternated between two colors every row, it could make it easier to see.</description>
		<content:encoded><![CDATA[<p>i love this script, and have modified to to my needs successfully.  just one idea&#8230; have you considered making the table colored?  if you alternated between two colors every row, it could make it easier to see.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-2</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-2</guid>
		<description>Thanks for this, Good work.</description>
		<content:encoded><![CDATA[<p>Thanks for this, Good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshambo</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-3</link>
		<dc:creator>Roshambo</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-3</guid>
		<description>brilliant!</description>
		<content:encoded><![CDATA[<p>brilliant!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cili</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-6</link>
		<dc:creator>Cili</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-6</guid>
		<description>bravos</description>
		<content:encoded><![CDATA[<p>bravos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-26</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-26</guid>
		<description>I think this is a good function, with ONE remark: Putting the mysql_num_rows($result); function in the for-loop slows it down. It&#039;s better to call this function before the loop.

[Editor&#039;s Note: Ooops, fixed]</description>
		<content:encoded><![CDATA[<p>I think this is a good function, with ONE remark: Putting the mysql_num_rows($result); function in the for-loop slows it down. It&#8217;s better to call this function before the loop.</p>
<p>[Editor's Note: Ooops, fixed]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gnif</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-27</link>
		<dc:creator>Gnif</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-27</guid>
		<description>bravo, this is a very nice implementation, but how will is handle a null field, can it be changed so that you can tell it what to use for a null? I could just do it myself, but then others wouldn&#039;t be able to benifit.

Eg. 2nd param:
mysql_draw_table($result, &#039;[NULL]&#039;);
mysql_draw_table($result, &#039;&#160;&#039; );

[Editor&#039;s Note: All done]</description>
		<content:encoded><![CDATA[<p>bravo, this is a very nice implementation, but how will is handle a null field, can it be changed so that you can tell it what to use for a null? I could just do it myself, but then others wouldn&#8217;t be able to benifit.</p>
<p>Eg. 2nd param:<br />
mysql_draw_table($result, &#8216;[NULL]&#8216;);<br />
mysql_draw_table($result, &#8216;&nbsp;&#8217; );</p>
<p>[Editor's Note: All done]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neott</title>
		<link>http://aidanlister.com/2004/04/outputing-a-mysql-result-in-a-html-table/comment-page-1/#comment-83</link>
		<dc:creator>Neott</dc:creator>
		<pubDate>Fri, 05 Nov 2004 00:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=70#comment-83</guid>
		<description>found tis very usefull, thanks :)</description>
		<content:encoded><![CDATA[<p>found tis very usefull, thanks <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

