Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]first pagination page not clickable
#2

[eluser]bobbob[/eluser]
The fix for this is to use the $config

$config['uri_segment'] = 4;

instead of putting
$query = $this->db->get('articles',$config['per_page'],$this->uri->segment(4));
in the query.
put:
$query = $this->db->get('articles',$config['per_page'],$config['uri_segment']);

That had me for a while.


Messages In This Thread
[SOLVED]first pagination page not clickable - by El Forum - 06-25-2009, 11:31 AM
[SOLVED]first pagination page not clickable - by El Forum - 06-25-2009, 01:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB