Hi, I have a pagination script which splits the data up nicely aswell as filtering options to sort through the data. Here is what I'm working on: Click here You can view the entire script by viewing source.
The problem I'm having is when using the filtering options, the content goes away correctly but the pagination numbers stay the same - they do not change depending on how much content is available. As you can see in the script I have it set to display 5 site names.
So for example, if you uncheck the color black and green and leave on blue there are a total of 4 names being displayed. but it displays it over 3 pages where it should only be in 1.
Can anyone see something that I can't on why this problem is occurring?