Welcome Guest, Not a member yet? Register   Sign In
can you help... in Pagination I modified View and Controller function
#5

(This post was last modified: 07-01-2018, 12:50 AM by lsepolis123.)

$config['total_rows'] = $this->db->count_all('ads');

needed two queries the first to get how many are all videos - rows???  how ^^ this work???



https://www.codeigniter.com/userguide3/d...:count_all

according to this ^^^ gets all rows of table but i want Only public[field public=1] videos count [exist and private[field public=0]]  what to do????
Reply


Messages In This Thread
RE: can you help... in Pagination I modified View and Controller function - by lsepolis123 - 06-30-2018, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB