<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - lemcoe9</title>
<link>http://snipplr.com/users/lemcoe9</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 21:16:55 GMT</pubDate>
<item>
<title>(PHP) MySQL INSERT Query Generator w/ Strings</title>
<link>http://snipplr.com/view/66107/mysql-insert-query-generator-w-strings/</link>
<description><![CDATA[ <p>Takes your table name and key=>value array of values and returns the text for inserting into a MySQL database. Automatically surrounds strings with single quotes.</p> ]]></description>
<pubDate>Fri, 13 Jul 2012 02:39:08 GMT</pubDate>
<guid>http://snipplr.com/view/66107/mysql-insert-query-generator-w-strings/</guid>
</item>
<item>
<title>(PHP) List of Keys Used in MongoDB Collection</title>
<link>http://snipplr.com/view/59334/list-of-keys-used-in-mongodb-collection/</link>
<description><![CDATA[ <p>Takes the collection 'david' and gives a unique array of the keys used.</p> ]]></description>
<pubDate>Sun, 02 Oct 2011 14:42:26 GMT</pubDate>
<guid>http://snipplr.com/view/59334/list-of-keys-used-in-mongodb-collection/</guid>
</item>
<item>
<title>(PHP) Insert a Key=>Value at the beginning of an array</title>
<link>http://snipplr.com/view/59332/insert-a-keyvalue-at-the-beginning-of-an-array/</link>
<description><![CDATA[ <p>There seems to be no easy way to insert a key and value at the beginning of an array, as array_unset does not allow you to specify a key. This is not a very efficient way to do it, but it works. 

Pretend the array is currently: array("a"=>"b", "c"=>"d") and you would like "x"=>"z" at the beginning....

The snippet will result in $array being: array("x"=>"z", "a"=>"b", "c"=>"d")</p> ]]></description>
<pubDate>Sun, 02 Oct 2011 12:24:14 GMT</pubDate>
<guid>http://snipplr.com/view/59332/insert-a-keyvalue-at-the-beginning-of-an-array/</guid>
</item>
</channel>
</rss>