![]() |
Error in paging - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Error in paging (/showthread.php?tid=11472) |
Error in paging - El Forum - 09-10-2008 [eluser]novarli[/eluser] My controller script Code: $data['count_result'] = $this->cities->count_result($txtName,$province); The model Code: function getSearchResult($city,$province,$limit,$offset){ And view Code: ... then error Message: Object of class CI_DB_mysql_result could not be converted to int Filename: libraries/Pagination.php Line Number: 104 Severity: Notice Message: Object of class CI_DB_mysql_result could not be converted to int Filename: libraries/Pagination.php Line Number: 110 What happen? Here the screenshot http://img364.imageshack.us/img364/7103/resultzb0.gif |