Welcome Guest, Not a member yet? Register   Sign In
Category/View/Id/Pageno question ?
#2

[eluser]TheFuzzy0ne[/eluser]
The problem is that your total rows needs to be the total rows in your database for that particular item. You have supplied the total rows in the result set, not the database. It would pay to actually count the rows rather than try to return them:
Code:
$this->db->where(array('icerikler.katid' => $this->uri->segment(3)));
$total_row = $this->db->count_all_results('icerikler');


Messages In This Thread
Category/View/Id/Pageno question ? - by El Forum - 06-10-2009, 09:57 AM
Category/View/Id/Pageno question ? - by El Forum - 06-10-2009, 10:09 AM
Category/View/Id/Pageno question ? - by El Forum - 06-10-2009, 10:19 AM
Category/View/Id/Pageno question ? - by El Forum - 06-10-2009, 11:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB