I know this probably super simple but its been driving me nuts for a couple of hours now...
what i want to do is display results from a database query in blocks of six - then link to the other pages with a next button... I have this working great, only problem is i want to show the user what page they're on and how many other pages there are left to show...
ie; "your are viewing page 1 of 6"
I have the amount of matched records with $num = mysql_num_rows($Globalresult);
i tried $numberofpages = $round($num / 6); but obviously if there are thirteen records it will think there are only two pages of results...
if anyone could help that would be awesome...
cheers