Welcome Guest, Not a member yet? Register   Sign In
DB query caching and php 7.2
#9

(12-28-2017, 05:12 AM)InsiteFX Wrote: Is this a custom method? If not then it is wrong.

PHP Code:
$total $this->db->count_all_results(); 

It should be.

PHP Code:
$total $this->db->count_all(); 

Try remarking that line out and see what happens.

It is here in the documentation

https://codeigniter.com/user_guide/datab...ll_results
Reply


Messages In This Thread
DB query caching and php 7.2 - by abonajd - 12-21-2017, 10:57 AM
RE: DB query caching and php 7.2 - by dave friend - 12-23-2017, 08:59 AM
RE: DB query caching and php 7.2 - by abonajd - 12-26-2017, 01:19 PM
RE: DB query caching and php 7.2 - by skunkbad - 12-26-2017, 02:19 PM
RE: DB query caching and php 7.2 - by abonajd - 12-26-2017, 03:55 PM
RE: DB query caching and php 7.2 - by skunkbad - 12-26-2017, 08:24 PM
RE: DB query caching and php 7.2 - by Narf - 01-02-2018, 09:18 AM
RE: DB query caching and php 7.2 - by abonajd - 12-27-2017, 08:48 AM
RE: DB query caching and php 7.2 - by InsiteFX - 12-28-2017, 05:12 AM
RE: DB query caching and php 7.2 - by abonajd - 12-28-2017, 07:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB