10 poster fra en DB per side :D
Jeg har et stykke kode, men har nogle poblemmer med at sætte det op sådan at den kun viser 10 udtræk per side ?Hvad skal jeg skrive sådan det virker ?
<body link="#000000" vlink="#000000" alink="#000000" bgcolor="#8E8E8E" topmargin="0" leftmargin="0">
<div align="left">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="360" id="AutoNumber1" cellpadding="0" height="67">
<tr>
<td width="360" height="25">
<div align="center">
<center>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="360" id="AutoNumber3" cellpadding="0" height="25" background="../billeder/knap/overskrift4.jpg">
<tr>
<td width="180" height="25">
<table border="0" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="180" id="AutoNumber4" cellpadding="0" height="25">
<tr>
<td width="100%"><b>
<font size="2" color="#FFFFFF" face="Verdana">-- Tagwall</font></b></td>
</tr>
</table>
</td>
<td width="180" height="25">
<table border="0" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="180" id="AutoNumber5" cellpadding="0" height="25">
<tr>
<td width="100%">
<p align="right"><b>
<font color="#FFFFFF" size="2" face="Verdana">
<a style="text-decoration: none" target="_self" href="tagwallpost.asp">
<font color="#FFFFFF">Skriv tag</font></a> --</font></b></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td width="100%" height="52">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#2A608F" width="100%" id="AutoNumber2" cellpadding="0" height="52">
<tr>
<td width="100%" height="52">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber6" cellpadding="0" height="100%">
<tr>
<td width="360" height="15"></td>
</tr>
<tr>
<td width="360" height="15">
<p align="center">
</td>
</tr>
<tr>
<td width="360" height="40">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="360" id="AutoNumber7" cellpadding="0" height="40">
<%
DO WHILE NOT RS.EOF
%>
<tr>
<td width="100%" height="25">
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="360" id="AutoNumber8" cellpadding="0" height="25" bgcolor="#000000">
<tr>
<td width="180" height="25">
<table border="0" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="180" id="AutoNumber10" cellpadding="0" height="25">
<tr>
<td width="100%">
<font size="1" face="Verdana" color="#FFFFFF">- Navn: <%=rs("Navn")%></font></td>
</tr>
</table>
</td>
<td width="180" height="25">
<table border="0" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="180" id="AutoNumber11" cellpadding="0" height="25">
<tr>
<td width="100%">
<p align="right">
<font size="1" face="Verdana" color="#FFFFFF">Dato: <%=rs("Dato")%> -</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="30">
<table border="2" cellspacing="0" style="border-collapse: collapse; border-top-width: 0; border-bottom-width: 0" bordercolor="#000000" width="360" id="AutoNumber12" cellpadding="0" height="30">
<tr>
<td width="100%" style="border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<table background="../billeder/news4.jpg" border="0" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber13" cellpadding="0" height="100%">
<tr>
<td width="100%"><font size="1" face="Verdana" color="#000000"><%=rs("Comments")%></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="2">
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber9" cellpadding="0">
<tr>
<td width="360" bgcolor="#000000" height="2"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="20">
<p align="center"></td>
</tr>
<%
rs.MoveNext
LOOP
rs.MoveFirst
nummer = 0
%>
<tr>
<td width="100%" height="20">
<p align="center">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<%
rs.Close
Set rs = Nothing
Set Con = Nothing
%>
</body>
