<?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: One Pass Parent-Child Array Structure</title>
	<atom:link href="http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/</link>
	<description>A launchpad for new ideas for the web</description>
	<pubDate>Sat, 20 Mar 2010 13:45:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Shiro</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-9419</link>
		<dc:creator>Shiro</dc:creator>
		<pubDate>Sat, 30 Jan 2010 03:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-9419</guid>
		<description>Well Done! This is always what I really like to archive. Simply but powerful! Thx for sharing~ God bless you.</description>
		<content:encoded><![CDATA[<p>Well Done! This is always what I really like to archive. Simply but powerful! Thx for sharing~ God bless you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Walters</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-9379</link>
		<dc:creator>Jeff Walters</dc:creator>
		<pubDate>Mon, 18 Jan 2010 19:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-9379</guid>
		<description>Nice, pass by reference is something I often forget to think about, but use often in class extensions. Thanks for the tutorial. Jeff</description>
		<content:encoded><![CDATA[<p>Nice, pass by reference is something I often forget to think about, but use often in class extensions. Thanks for the tutorial. Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-9132</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-9132</guid>
		<description>Very intelligent work!. SO much better than recursion.</description>
		<content:encoded><![CDATA[<p>Very intelligent work!. SO much better than recursion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shin</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-8637</link>
		<dc:creator>shin</dc:creator>
		<pubDate>Mon, 05 Oct 2009 19:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-8637</guid>
		<description>May I ask a question?
Where does ['children'] come from?
Is it php or mysql? Any help will be appreciated it.
Thanks for a useful writing.</description>
		<content:encoded><![CDATA[<p>May I ask a question?<br />
Where does ['children'] come from?<br />
Is it php or mysql? Any help will be appreciated it.<br />
Thanks for a useful writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-5112</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Mon, 02 Feb 2009 18:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-5112</guid>
		<description>Thanks, very useful. Here's a snippet to create a set of nested lists out of the $list array:

</description>
		<content:encoded><![CDATA[<p>Thanks, very useful. Here&#8217;s a snippet to create a set of nested lists out of the $list array:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-5111</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Mon, 02 Feb 2009 18:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-5111</guid>
		<description>Thanks, very useful. Here's a snippet to create a set of nested lists out of the $list array:

&#60;?php
function toUL($arr) {
	$html = '' . PHP_EOL;
	foreach ($arr as $v) {
		$html .= '' . $v['name'] . '' . PHP_EOL;
		if (array_key_exists('children', $v)) {
			$html .= toUL($v['children']);
		}
	}
	$html .= '' . PHP_EOL;
	return $html;
}
echo toUL($list);
?&#62;</description>
		<content:encoded><![CDATA[<p>Thanks, very useful. Here&#8217;s a snippet to create a set of nested lists out of the $list array:</p>
<p>&lt;?php<br />
function toUL($arr) {<br />
	$html = &#8221; . PHP_EOL;<br />
	foreach ($arr as $v) {<br />
		$html .= &#8221; . $v['name'] . &#8221; . PHP_EOL;<br />
		if (array_key_exists(&#8217;children&#8217;, $v)) {<br />
			$html .= toUL($v['children']);<br />
		}<br />
	}<br />
	$html .= &#8221; . PHP_EOL;<br />
	return $html;<br />
}<br />
echo toUL($list);<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: star_faeiz</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-4603</link>
		<dc:creator>star_faeiz</dc:creator>
		<pubDate>Tue, 02 Dec 2008 06:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-4603</guid>
		<description>you are a PHP god. Thanks!!</description>
		<content:encoded><![CDATA[<p>you are a PHP god. Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: display tree</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-3761</link>
		<dc:creator>display tree</dc:creator>
		<pubDate>Sat, 13 Sep 2008 16:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-3761</guid>
		<description>i've spent the time to find the best function to display the tree so you dont have to:
http://kevin.vanzonneveld.net/techblog/article/convert_anything_to_tree_structures_in_php/</description>
		<content:encoded><![CDATA[<p>i&#8217;ve spent the time to find the best function to display the tree so you dont have to:<br />
<a href="http://kevin.vanzonneveld.net/techblog/article/convert_anything_to_tree_structures_in_php/" rel="nofollow">http://kevin.vanzonneveld.net/techblog/article/convert_anything_to_tree_structures_in_php/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alaa Abdelhaq</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-3559</link>
		<dc:creator>Alaa Abdelhaq</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-3559</guid>
		<description>Many thanks, I would be very Thankful if you could show us
what is the script u used to echo
this:

    * Antartica
    * North America
          o Canada
                + Quebec
          o United States
                + California
                      # Hollywood
                      # Los Angeles
          o Florida
    * South America

regardless the depth childs may reach?</description>
		<content:encoded><![CDATA[<p>Many thanks, I would be very Thankful if you could show us<br />
what is the script u used to echo<br />
this:</p>
<p>    * Antartica<br />
    * North America<br />
          o Canada<br />
                + Quebec<br />
          o United States<br />
                + California<br />
                      # Hollywood<br />
                      # Los Angeles<br />
          o Florida<br />
    * South America</p>
<p>regardless the depth childs may reach?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IVO GELOV</title>
		<link>http://www.ideashower.com/our_solutions/create-a-parent-child-array-structure-in-one-pass/comment-page-1/#comment-2728</link>
		<dc:creator>IVO GELOV</dc:creator>
		<pubDate>Thu, 19 Jun 2008 14:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ideashower.com/scripts/create-a-parent-child-array-structure-in-one-pass/#comment-2728</guid>
		<description>Oh, dude - it is a brilliant idea !
Thanks a lot for sharing this.
Best wishes.</description>
		<content:encoded><![CDATA[<p>Oh, dude - it is a brilliant idea !<br />
Thanks a lot for sharing this.<br />
Best wishes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
