This post originated from an RSS feed registered with PHP Buzz
by Paul M Jones.
Original Post: DB_Table: Pre-Defined Per-Query Fetchmodes
Feed Title: Paul M. Jones
Feed URL: http://paul-m-jones.com/archives/category/programming/php/feed
Feed Description: If it's worth doing, it's worth over-doing.
Ian Eure just provided a patch to DB_Table that is genius in its simplicity. While I have not tested it, the patch looks like it will cause no trouble. In short, in your predefined SQL queries, you can specify that the query should return in DB_FETCHMODE_ASSOC, DB_FETCHMODE_ORDERED, or ...