<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/array</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 09 Jul 2008 04:36:18 GMT</pubDate>
<item>
<title>(PHP) Get menu item array - wesbaker</title>
<link>http://snipplr.com/view/6881/get-menu-item-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 Jun 2008 14:52:39 GMT</pubDate>
<guid>http://snipplr.com/view/6881/get-menu-item-array/</guid>
</item>
<item>
<title>(PHP) Secure Undo magic_quotes - luizlopes</title>
<link>http://snipplr.com/view/6266/secure-undo-magicquotes/</link>
<description><![CDATA[ <p>This was taken out of a presentation by eZ systems on PHP Best Practices</p> ]]></description>
<pubDate>Fri, 16 May 2008 10:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/6266/secure-undo-magicquotes/</guid>
</item>
<item>
<title>(PHP) PHP 多次元配列をソート usort - daisuke103</title>
<link>http://snipplr.com/view/5997/php--usort/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Apr 2008 04:20:39 GMT</pubDate>
<guid>http://snipplr.com/view/5997/php--usort/</guid>
</item>
<item>
<title>(PHP) drupal province state select group array - sherakama</title>
<link>http://snipplr.com/view/5944/drupal-province-state-select-group-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 21 Apr 2008 13:56:11 GMT</pubDate>
<guid>http://snipplr.com/view/5944/drupal-province-state-select-group-array/</guid>
</item>
<item>
<title>(PHP) Array contents to XML format - iTony</title>
<link>http://snipplr.com/view/5562/array-contents-to-xml-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Mar 2008 17:06:05 GMT</pubDate>
<guid>http://snipplr.com/view/5562/array-contents-to-xml-format/</guid>
</item>
<item>
<title>(PHP) UK postcode parser - naz</title>
<link>http://snipplr.com/view/5464/uk-postcode-parser/</link>
<description><![CDATA[ <p>This function can validate and parse UK postcode like SW1A 1AA in to formated array.</p> ]]></description>
<pubDate>Mon, 17 Mar 2008 15:11:57 GMT</pubDate>
<guid>http://snipplr.com/view/5464/uk-postcode-parser/</guid>
</item>
<item>
<title>(PHP) previous -next keys in array - naz</title>
<link>http://snipplr.com/view/5356/previous-next-keys-in-array/</link>
<description><![CDATA[ <p>This function return array with previous and next values from certain point, if pointer is last element in array function return first element.</p> ]]></description>
<pubDate>Mon, 10 Mar 2008 12:58:46 GMT</pubDate>
<guid>http://snipplr.com/view/5356/previous-next-keys-in-array/</guid>
</item>
<item>
<title>(PHP) array_intersect_key() for php4 - razel</title>
<link>http://snipplr.com/view/4920/arrayintersectkey-for-php4/</link>
<description><![CDATA[ <p>Fallback Function for versions earlier then php5</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 11:02:40 GMT</pubDate>
<guid>http://snipplr.com/view/4920/arrayintersectkey-for-php4/</guid>
</item>
<item>
<title>(PHP) array_diff_key() for PHP4 - razel</title>
<link>http://snipplr.com/view/4919/arraydiffkey-for-php4/</link>
<description><![CDATA[ <p>Fallback Function for versions earlier then php5</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 11:01:17 GMT</pubDate>
<guid>http://snipplr.com/view/4919/arraydiffkey-for-php4/</guid>
</item>
<item>
<title>(PHP) Array_combine() for PHP4 - razel</title>
<link>http://snipplr.com/view/4918/arraycombine-for-php4/</link>
<description><![CDATA[ <p>Fallback Function for versions earlier then php5</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 11:00:16 GMT</pubDate>
<guid>http://snipplr.com/view/4918/arraycombine-for-php4/</guid>
</item>
<item>
<title>(PHP) is_single_dimension_array - PoNs</title>
<link>http://snipplr.com/view/4894/issingledimensionarray/</link>
<description><![CDATA[ <p>This little snippet checks whether an array only consits of strings and not more arrays.</p> ]]></description>
<pubDate>Mon, 04 Feb 2008 11:51:45 GMT</pubDate>
<guid>http://snipplr.com/view/4894/issingledimensionarray/</guid>
</item>
<item>
<title>(PHP) Collection class - Cory</title>
<link>http://snipplr.com/view/4622/collection-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 16 Jan 2008 21:23:54 GMT</pubDate>
<guid>http://snipplr.com/view/4622/collection-class/</guid>
</item>
<item>
<title>(PHP) Array of Countries in Turkish. - skywalker</title>
<link>http://snipplr.com/view/4583/array-of-countries-in-turkish/</link>
<description><![CDATA[ <p>Array of Countries in Turkish language.</p> ]]></description>
<pubDate>Tue, 15 Jan 2008 04:42:57 GMT</pubDate>
<guid>http://snipplr.com/view/4583/array-of-countries-in-turkish/</guid>
</item>
<item>
<title>(PHP) Passing an array through GET request - johnself</title>
<link>http://snipplr.com/view/4444/passing-an-array-through-get-request/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Jan 2008 14:51:51 GMT</pubDate>
<guid>http://snipplr.com/view/4444/passing-an-array-through-get-request/</guid>
</item>
<item>
<title>(PHP) strstr() and stristr() with Arrays - engel</title>
<link>http://snipplr.com/view/4435/strstr-and-stristr-with-arrays/</link>
<description><![CDATA[ <p>Searches an array $haystack for $needle. Returns the value of the element which contains the first result. Use strstr_array() for case-sensitive searches and stristr_array() for case-insensitive searches.</p> ]]></description>
<pubDate>Sun, 30 Dec 2007 18:32:19 GMT</pubDate>
<guid>http://snipplr.com/view/4435/strstr-and-stristr-with-arrays/</guid>
</item>
<item>
<title>(PHP) Build Nested Array From SQL - tylerhall</title>
<link>http://snipplr.com/view/4383/build-nested-array-from-sql/</link>
<description><![CDATA[ <p>During the time that I’ve been programming I’ve continually run into times when I needed to be able to store a multi-level list into a database and retrieve it. I’ve used this in a CMS system to allow uses to create and nest their own menu options or to allow users to create and nest categories of items. Saving it was never a problem, but retrieving it and building a PHP array with nested structure was a messy task. The problem was that you couldn’t easily enter a variable four levels deep into an array without knowing all of the parents of that item. This was okay if you retrieved the data in order of parents, but that meant if you wanted to sort the data by another column (such as name), you would have to do multiple passes through your data to continually reshuffle it.</p> ]]></description>
<pubDate>Wed, 19 Dec 2007 15:15:51 GMT</pubDate>
<guid>http://snipplr.com/view/4383/build-nested-array-from-sql/</guid>
</item>
<item>
<title>(PHP) Enum to Array / SQL to PHP - clapfouine</title>
<link>http://snipplr.com/view/4312/enum-to-array--sql-to-php/</link>
<description><![CDATA[ <p>adapted from http://www.gotocode.com/art.asp?art_id=275&amp;</p> ]]></description>
<pubDate>Wed, 12 Dec 2007 08:35:26 GMT</pubDate>
<guid>http://snipplr.com/view/4312/enum-to-array--sql-to-php/</guid>
</item>
<item>
<title>(PHP) Check if string - JuliaKM</title>
<link>http://snipplr.com/view/4045/check-if-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 29 Oct 2007 16:12:11 GMT</pubDate>
<guid>http://snipplr.com/view/4045/check-if-string/</guid>
</item>
<item>
<title>(PHP) Display the contents of an array using  formatting - scriptmakingcom</title>
<link>http://snipplr.com/view/3621/display-the-contents-of-an-array-using-pre-formatting/</link>
<description><![CDATA[ <p>simply adding the  tags will display the contents of the array in a much better fashion.</p> ]]></description>
<pubDate>Sun, 02 Sep 2007 20:05:09 GMT</pubDate>
<guid>http://snipplr.com/view/3621/display-the-contents-of-an-array-using-pre-formatting/</guid>
</item>
<item>
<title>(PHP) Convert PHP Array to XML or Simple XML Object if you wish - djdykes</title>
<link>http://snipplr.com/view/3491/convert-php-array-to-xml-or-simple-xml-object-if-you-wish/</link>
<description><![CDATA[ <p>Was fiddling around at work one day thought this might be useful.</p> ]]></description>
<pubDate>Wed, 08 Aug 2007 20:40:15 GMT</pubDate>
<guid>http://snipplr.com/view/3491/convert-php-array-to-xml-or-simple-xml-object-if-you-wish/</guid>
</item>
</channel>
</rss>