10-27-2011, 12:59 PM
|
|
Confirmed User
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
|
Quote:
Originally Posted by nm_
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!!!
|
|
|