<?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"
	>
<channel>
	<title>Comments on: PHP: Insert Into an Array at a Specific Position</title>
	<atom:link href="http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/</link>
	<description>A web, technology, programming and SEO blog by Justin Cook</description>
	<pubDate>Sun, 07 Sep 2008 22:10:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: vladimir</title>
		<link>http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-133824</link>
		<dc:creator>vladimir</dc:creator>
		<pubDate>Wed, 16 Jul 2008 12:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-133824</guid>
		<description>some offtopic comment:
it's hard to find this page among firefox tabs because desing of favicon is not visually associated with page's design. make a dark favicon.
sorry my english (:</description>
		<content:encoded><![CDATA[<p>some offtopic comment:<br />
it&#039;s hard to find this page among firefox tabs because desing of favicon is not visually associated with page&#039;s design. make a dark favicon.<br />
sorry my english (:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leafo</title>
		<link>http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-131728</link>
		<dc:creator>leafo</dc:creator>
		<pubDate>Mon, 14 Jul 2008 15:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-131728</guid>
		<description>function array_insert(&#38;$array, $insert, $position) {
array_splice($array,$position,0,array($insert));
}

wrap what you are inserting in the call to array splice in an array that way you can insert complex objects (like arrays). Otherwise the splice method will iterate though the object and individually insert each thing in it.</description>
		<content:encoded><![CDATA[<p>function array_insert(&amp;$array, $insert, $position) {<br />
array_splice($array,$position,0,array($insert));<br />
}</p>
<p>wrap what you are inserting in the call to array splice in an array that way you can insert complex objects (like arrays). Otherwise the splice method will iterate though the object and individually insert each thing in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: celebhir</title>
		<link>http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-113829</link>
		<dc:creator>celebhir</dc:creator>
		<pubDate>Wed, 18 Jun 2008 09:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/02/php-insert-into-an-array-at-a-specific-position/#comment-113829</guid>
		<description>you rock tenzin - little pieces of clever code, my favourte. 
thanks. works like a dream</description>
		<content:encoded><![CDATA[<p>you rock tenzin - little pieces of clever code, my favourte.<br />
thanks. works like a dream</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.130 seconds -->
