Welcome Guest, Not a member yet? Register   Sign In
Changing db results in model before passing
#5

[eluser]timotheus[/eluser]
@bretticus Wow, that's embarrassing. :/ Sorry about that.

I've checked this and it is working. Maybe you're thinking of how row_array() works?

From the documentation..

Quote:result_array() - This function returns the query result as a pure array, or an empty array when no result is produced. Typically you'll use this in a foreach loop..

Quote:row() - This function returns a single result row. If your query has more than one row, it returns only the first row. The result is returned as an object.

Quote:row_array() - Identical to the above row() function, except it returns an array.


Messages In This Thread
Changing db results in model before passing - by El Forum - 09-21-2010, 02:45 PM
Changing db results in model before passing - by El Forum - 09-21-2010, 04:26 PM
Changing db results in model before passing - by El Forum - 09-21-2010, 05:40 PM
Changing db results in model before passing - by El Forum - 09-21-2010, 08:30 PM
Changing db results in model before passing - by El Forum - 09-22-2010, 09:53 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 10:01 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 10:21 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 10:26 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 10:37 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 11:01 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 11:38 AM
Changing db results in model before passing - by El Forum - 09-22-2010, 12:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB