<?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: MySQL &amp; PHP- Show Tables In Database</title>
	<atom:link href="http://www.brightcherry.co.uk/scribbles/2008/11/14/mysql-php-show-tables-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightcherry.co.uk/scribbles/2008/11/14/mysql-php-show-tables-in-database/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Aug 2010 19:01:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Maruf</title>
		<link>http://www.brightcherry.co.uk/scribbles/2008/11/14/mysql-php-show-tables-in-database/comment-page-1/#comment-513</link>
		<dc:creator>Maruf</dc:creator>
		<pubDate>Thu, 26 Feb 2009 10:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=94#comment-513</guid>
		<description>Hey Ben,

The 0 doesn&#039;t increment. 0 is the index- it&#039;s calling the first element in the array, which is the tablename.

You could rename the variable to something like this:

$tablename = $showtablerow[0];
echo $tablename;

Now $tablename will print the tablenames.</description>
		<content:encoded><![CDATA[<p>Hey Ben,</p>
<p>The 0 doesn&#8217;t increment. 0 is the index- it&#8217;s calling the first element in the array, which is the tablename.</p>
<p>You could rename the variable to something like this:</p>
<p>$tablename = $showtablerow[0];<br />
echo $tablename;</p>
<p>Now $tablename will print the tablenames.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.brightcherry.co.uk/scribbles/2008/11/14/mysql-php-show-tables-in-database/comment-page-1/#comment-498</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 03 Feb 2009 04:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=94#comment-498</guid>
		<description>Hey man might sound like a silly question im new to php and all - but why does the array only print out properly when you specify the key as 0? 
 
echo $showtablerow[0]

does the key increment in the while loop automatically?</description>
		<content:encoded><![CDATA[<p>Hey man might sound like a silly question im new to php and all &#8211; but why does the array only print out properly when you specify the key as 0? </p>
<p>echo $showtablerow[0]</p>
<p>does the key increment in the while loop automatically?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
