[eluser]sophistry[/eluser]
the more code you post the better. when you put it in code block tags it ensures that everyone can read it.
Code:
echo “”;
var_dump ($payouts->result_array());
echo “</pre>”;
this section does not appear in any code you have posted so far.
please start at the beginning with the controller filename and the controller code. post as much as you can.
now to your issue:
the array is showing zero items. that is good. that means the call is working (maybe, CI 1.3 no longer "exists" per se, so only a CI archeologist could tell us what is returned by default).
so, are you able to get any calls to the database to work? that is, do any o your pages work and show data like they are supposed to?
if so, please post the code that is working alongside the code that isn't working.
more info = better feedback especially with OLD CI installs which are almost 3 years old.
EDIT: also, please change the title of this thread to something like: "Old CI install, recently upgraded PHP and MySQL, and one query doesn't work"
that would help a lot.