Welcome Guest, Not a member yet? Register   Sign In
num_rows in CI4

- Can i get num rows with code:
$rows = count($db->getReults());
Because i see:
public function getResult(string $type = 'object'): array
It return an array, so can use count?
Thanks for help

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams


Messages In This Thread
num_rows in CI4 - by nc03061981 - 09-18-2020, 06:39 PM
RE: num_rows in CI4 - by seunex - 09-18-2020, 11:23 PM

Theme © iAndrew 2016 - Forum software by © MyBB