Custom backport of unbuffered_row in CI2 |
Ok, obviously, the num_rows variable is not set before calling result_array() (this is for my other queries not using unbuffered_row).
So I should change this : PHP Code: if($query->num_rows > 0) To this : PHP Code: if($query->num_rows() > 0) And I think it will work...
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Custom backport of unbuffered_row in CI2 - by includebeer - 01-06-2016, 09:07 AM
RE: Custom backport of unbuffered_row in CI2 - by includebeer - 01-06-2016, 11:51 AM
RE: Custom backport of unbuffered_row in CI2 - by includebeer - 01-07-2016, 02:01 PM
|