Do you need quick help? PM me your MSN/Yahoo ID and lets solve your problem. That's definitely an error in your code.
Your code is all kinds of wierd. First of all, it appears that you're trying to add a string 'count' to $this -> page. While there are no datatypes in PHP, per se, this is basically equivalent to adding 0. You are then trying to set it equal to one . . . The logic doesn't make any sense at all. In either case, you can't add a value using the shorthand +=, then continue to set it equal to another value. $this -> page += 1; $this -> page += $count; Would both be acceptable. Or you could do something like: $this -> page += $count; $this -> page = 1; Anyway, this is the wrong forum for this type of question