Welcome Guest, Not a member yet? Register   Sign In
Sub Queries or better way to do this?
#2

(This post was last modified: 05-18-2016, 04:48 AM by fakhrawy.)

first you need to add join line to be like this
$this->db->join('d_pools_second','d_pools_second.key_id=pools.pl_id');
then return by count like this
return $query->num_rows();
Reply


Messages In This Thread
RE: Sub Queries or better way to do this? - by fakhrawy - 05-18-2016, 04:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB