Ø
Øyvind Isaksen
Hi!
I need to create a table with 4 cols and X rows based on the number records
in my database. I dont know how this can be done, mabye with an array?
If I got for example 6 records in my database, a table with 4 cols and 2
rows should be generated, the last row will only have 2 cols with
information...
Like this:
<table>
<tr>
<td>Record1</td>
<td>Record2</td>
<td>Record3</td>
<td>Record4</td>
</tr>
<tr>
<td>Record5</td>
<td>Record6</td>
<td></td>
<td></td>
</tr>
</table>
-----------------------------------
This is what I have made so far:
<table>
<%
set rsArt= server.CreateObject("adodb.recordset")
rsArt.Open SQL,conn
do until rsArt.EOF
rsArt.MoveNext
loop
rsArt.Close
set rsArt = nothing
%>
</table>
-----------------------------------
Can someone please help me with this one???
Regards,
Øyvind Isaksen
I need to create a table with 4 cols and X rows based on the number records
in my database. I dont know how this can be done, mabye with an array?
If I got for example 6 records in my database, a table with 4 cols and 2
rows should be generated, the last row will only have 2 cols with
information...
Like this:
<table>
<tr>
<td>Record1</td>
<td>Record2</td>
<td>Record3</td>
<td>Record4</td>
</tr>
<tr>
<td>Record5</td>
<td>Record6</td>
<td></td>
<td></td>
</tr>
</table>
-----------------------------------
This is what I have made so far:
<table>
<%
set rsArt= server.CreateObject("adodb.recordset")
rsArt.Open SQL,conn
do until rsArt.EOF
rsArt.MoveNext
loop
rsArt.Close
set rsArt = nothing
%>
</table>
-----------------------------------
Can someone please help me with this one???
Regards,
Øyvind Isaksen