View Single Post
Old 10-27-2011, 12:59 PM  
eMonk
Confirmed User
 
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
Quote:
Originally Posted by nm_ View Post
Code:
if ($page <= 0) {
    // Page is less than 0 then set it to 1
    $page = 1;
} else {
  // URL does not show the page set it to 1
  $page = 1;
}
this is the problem, remove the else statement. you're setting $page to 1 no matter what you enter into ?page="X"
That worked, thanks!!!
eMonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote