25 May
2012
25 May
'12
11:16 p.m.
On Fri, May 25, 2012 at 5:07 PM, Michael Prasuhn <mike@mikeyp.net> wrote:
If you'd actually read the docs and the code you'd see that SelectQuery::execute and db_query() actually return the *exact same thing*.
Uh, no it does not return the same thing or I would be able to do db_select()->execute()->fetch(). You must use foreach(db_select()->execute() as $row) to get the data and the data type of the first parameter of foreach is an array. -- Earnie -- https://sites.google.com/site/earnieboyd