• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difficulties with pagination

Hey there,

I built a few methods that use the pagination class. I have one methods where pagination works perfectly. So, I believe I know what I am doing.

However, I have this other method where pagination won't work. The only suspect is that I am passing this other method two parameters, not one.

function images($udi, $page = 0)
$config['base_url'] = "http://localhost/mik/index.php/restricted/images/$uid/";

So, the first time the method is accessed, if I want userid 3's images to view, the url should be

now, when I want to view the next set of images (assuming 3 are viewed per page), the url should be
and this link should be accessed by the link that looks like >=, however, the links generated by $this->pagination->create_links() are all messed up, and >= won't increase my $page variable correctly.

any idea why?


Messages In This Thread
difficulties with pagination - by El Forum - 08-09-2012, 03:31 PM
difficulties with pagination - by El Forum - 08-09-2012, 03:38 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.