i am using Codeigniter i am facing an issue while setting the values of "Limit" in a query,Limit is only showing "limit NULL"
Here is the snippet of my code.
SELECT block.loc, owner.name , block.dist_name FROM house INNER JOIN block ON house.block_id = block.block_id INNER JOIN owner ON owner.house_id = house.house_id WHERE
block.dist = ? AND house.status = 5 limit ? , ?
$result = $this->db->query($qry, array($this->getDist(), (int) $this->getLimitStart(), (int) $this->getLimitOffset()));
dump for
(int) $this->getLimitStart() is '0' and (int) $this->getLimitOffset() is '10'