Welcome Guest, Not a member yet? Register   Sign In
num_rows() function does not work
#2

Does this?
Code:
$query = $this->db
  ->distinct()
  ->get('products')
  ->result_array();


echo $query->num_rows();

(get the result array first)
Reply


Messages In This Thread
num_rows() function does not work - by swand - 07-22-2015, 10:00 AM
RE: num_rows() function does not work - by CroNiX - 07-22-2015, 10:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB