<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - iloveitaly</title>
<link>http://snipplr.com/users/iloveitaly/tags/array</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 16 Feb 2012 12:51:47 GMT</pubDate>
<item>
<title>(PHP) Generate Address String from Array / Object</title>
<link>http://snipplr.com/view/45939/generate-address-string-from-array--object/</link>
<description><![CDATA[ <p>Useful when used with the google map directions function http://snipplr.com/view/15530/php-create-google-map-directions-link/</p> ]]></description>
<pubDate>Sun, 19 Dec 2010 15:15:20 GMT</pubDate>
<guid>http://snipplr.com/view/45939/generate-address-string-from-array--object/</guid>
</item>
<item>
<title>(PHP) Array Search on Key</title>
<link>http://snipplr.com/view/37474/array-search-on-key/</link>
<description><![CDATA[ <p>like array_search but compares against a specific key in each element of the array</p> ]]></description>
<pubDate>Fri, 16 Jul 2010 01:00:20 GMT</pubDate>
<guid>http://snipplr.com/view/37474/array-search-on-key/</guid>
</item>
<item>
<title>(PHP) Implode With Keys</title>
<link>http://snipplr.com/view/36985/implode-with-keys/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 09 Jul 2010 06:10:36 GMT</pubDate>
<guid>http://snipplr.com/view/36985/implode-with-keys/</guid>
</item>
<item>
<title>(PHP) PHP Country List</title>
<link>http://snipplr.com/view/35237/php-country-list/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 May 2010 13:55:35 GMT</pubDate>
<guid>http://snipplr.com/view/35237/php-country-list/</guid>
</item>
<item>
<title>(PHP) List NetSuite Custom Fields in a Record</title>
<link>http://snipplr.com/view/32190/list-netsuite-custom-fields-in-a-record/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 17 Apr 2010 14:26:27 GMT</pubDate>
<guid>http://snipplr.com/view/32190/list-netsuite-custom-fields-in-a-record/</guid>
</item>
<item>
<title>(PHP) Day List</title>
<link>http://snipplr.com/view/25225/day-list/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Dec 2009 10:57:41 GMT</pubDate>
<guid>http://snipplr.com/view/25225/day-list/</guid>
</item>
<item>
<title>(PHP) Flatten Array Using Index</title>
<link>http://snipplr.com/view/24948/flatten-array-using-index/</link>
<description><![CDATA[ <p>Before:
`
Array
(
    [0] => Array
        (
            [total_sessions] => 24
            [study_type_id] => 1
        )

    [1] => Array
        (
            [total_sessions] => 24
            [study_type_id] => 2
        )

    [2] => Array
        (
            [total_sessions] => 20
            [study_type_id] => 3
        )

    [3] => Array
        (
            [total_sessions] => 10
            [study_type_id] => 4
        )

    [4] => Array
        (
            [total_sessions] => 10
            [study_type_id] => 5
        )

    [5] => Array
        (
            [total_sessions] => 10
            [study_type_id] => 6
        )

    [6] => Array
        (
            [total_sessions] => 10
            [study_type_id] => 7
        )

    [7] => Array
        (
            [total_sessions] => 8
            [study_type_id] => 10
        )

    [8] => Array
        (
            [total_sessions] => 8
            [study_type_id] => 12
        )

)
`
After:
`
Array
(
    [1] => Array
        (
            [total_sessions] => 24
        )

    [2] => Array
        (
            [total_sessions] => 24
        )

    [3] => Array
        (
            [total_sessions] => 20
        )

    [4] => Array
        (
            [total_sessions] => 10
        )

    [5] => Array
        (
            [total_sessions] => 10
        )

    [6] => Array
        (
            [total_sessions] => 10
        )

    [7] => Array
        (
            [total_sessions] => 10
        )

    [10] => Array
        (
            [total_sessions] => 8
        )

    [12] => Array
        (
            [total_sessions] => 8
        )
)
`</p> ]]></description>
<pubDate>Thu, 17 Dec 2009 10:16:03 GMT</pubDate>
<guid>http://snipplr.com/view/24948/flatten-array-using-index/</guid>
</item>
<item>
<title>(PHP) Implode On Array Item Key</title>
<link>http://snipplr.com/view/19080/implode-on-array-item-key/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 31 Aug 2009 22:02:25 GMT</pubDate>
<guid>http://snipplr.com/view/19080/implode-on-array-item-key/</guid>
</item>
<item>
<title>(PHP) SimpleXML Set Attributes</title>
<link>http://snipplr.com/view/17212/simplexml-set-attributes/</link>
<description><![CDATA[ <p>Convenience function to set a SimpleXMLElement's attributes quickly.</p> ]]></description>
<pubDate>Mon, 20 Jul 2009 12:14:59 GMT</pubDate>
<guid>http://snipplr.com/view/17212/simplexml-set-attributes/</guid>
</item>
<item>
<title>(PHP) Array Add Sufffix</title>
<link>http://snipplr.com/view/16816/array-add-sufffix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Jul 2009 13:45:16 GMT</pubDate>
<guid>http://snipplr.com/view/16816/array-add-sufffix/</guid>
</item>
<item>
<title>(PHP) Get List of Files in Directory</title>
<link>http://snipplr.com/view/16734/get-list-of-files-in-directory/</link>
<description><![CDATA[ <p>Like python's os.listdir</p> ]]></description>
<pubDate>Tue, 07 Jul 2009 14:43:40 GMT</pubDate>
<guid>http://snipplr.com/view/16734/get-list-of-files-in-directory/</guid>
</item>
<item>
<title>(PHP) array_from_keys_values</title>
<link>http://snipplr.com/view/16733/arrayfromkeysvalues/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 07 Jul 2009 14:42:31 GMT</pubDate>
<guid>http://snipplr.com/view/16733/arrayfromkeysvalues/</guid>
</item>
<item>
<title>(PHP) array_keys_exist</title>
<link>http://snipplr.com/view/15555/arraykeysexist/</link>
<description><![CDATA[ <p>like array_key_exists but accepts an array of key values to check</p> ]]></description>
<pubDate>Fri, 05 Jun 2009 07:53:28 GMT</pubDate>
<guid>http://snipplr.com/view/15555/arraykeysexist/</guid>
</item>
<item>
<title>(PHP) PHP TimeZone Array</title>
<link>http://snipplr.com/view/15552/php-timezone-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 05 Jun 2009 07:47:34 GMT</pubDate>
<guid>http://snipplr.com/view/15552/php-timezone-array/</guid>
</item>
</channel>
</rss>
