• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pagination does not behave as I expect

#3
[eluser]marcoss[/eluser]
Yes, it uses offsets instead of pages, but no need to use a different library, just do this.

Code:
function page($number=1){
    $offset = ($number > 1) ? $number : 0;
    // do stuff
}


Messages In This Thread
Pagination does not behave as I expect - by El Forum - 07-15-2007, 03:07 PM
Pagination does not behave as I expect - by El Forum - 07-15-2007, 05:56 PM
Pagination does not behave as I expect - by El Forum - 07-18-2007, 06:33 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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