Wednesday, April 26th, 2006
$cols[0] = “title”; $vals[0] = “”CodeWord: Apoalyptik””; $cols[1] = “url”; $vals[1] = “”http://blog.apokalyptik.com/””; $cols[2] = “feed_url” $vals[2] = “”http://blog.apokalyptik.com/?feed=rss2″”; $query=”INSERT INTO weblogs (“.implode(“,”, $cols).”) VALUES(“.implode(“,”, $vals).”)”;
Wednesday, April 26th, 2006
I’ve been writing PHP for a long time now. And one of the things that I see quite often is that people just dont get multidimensional arrays, and how to effectively store data in them for looping. Allow me to lead by example. $store['fruit']['apple']=3; $store['fruit']['orange']=1; $store['berries']['blueberries']=100; $store['berries']['strawberries']=100; $store['fruit']['mango']=5; foreach ( $store as $type => $val [...]
Wednesday, April 26th, 2006
Eye-Fi — Frickin cool! CleverSafe (Slashdot Article) — About time someone thought “hey, parity, back, WHOA!”… Patent Trolls — ICK ACK FOO BAR GRRR Order of the stick — I havent played D&D for, must be 10 years now… and I still find this strip funny on a regular basis… (though if you’ve never played [...]