I’m putting the finishing touches on this news archive. And i want the users to be able to page through the news articles.
The problem is… (ex.) When articles 6-10 out of 12 are showing, the next button will not be displayed.
heres some code
Code:
[left]
<%If intPage > 1 then%>
<a href="default.asp?page=<%=intPage - 1%>">Prev 5</a> | <%end if%><%= countPage + 1%> - <%= countPageBig%> of <%= RS.RecordCount%>
HERES THE WHERE THE ERROR OCCURS
<%If intPage < intPageCount then%> | <a href="default.asp?page=<%=intPage + 1%>">Next 5</a><%end if%>
[/left]
the Prev button works fine.
You can see the problem at www.dinkumrocks.com/news
Im kinda stumped
-Naaman
if you change the querystring to ?page=3 it works fine.