Member since 10/02/2011

3 snippets

815 profile views

0 Comment(s) Posted

View their favorites

their Tags



first submission:submitting first snipplet

lemcoe9's Recent Snippets

« Prev 1 Next »
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.
1 379 posted 9 years ago by lemcoe9
Takes the collection 'david' and gives a unique array of the keys used.
0 392 posted 10 years ago by lemcoe9
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"...
0 445 posted 10 years ago by lemcoe9
« Prev 1 Next »