Hi Calibus,
You have not said what the problem you face with this code. Just placing the code here, won't get you the right help from here. But having a glimpse at the code, I would suggest you to do the following.
Any TABLE related tags that you start should be closed appropriately, else you would not see the table displayed as expected. As brian said, I too would recommend you a good HTML book.
Also take a look at
Table Tag and other HTML tags
Code:
......
<table border="1" cellspacing="2" cellpadding="2">
<%
DIM iRecordCount
iRecordCount = 0
DO WHILE NOT objRS.EOF and iRecordCount <> 5 'not sure what you are trying to do with the code in red here
%>
<tr>
<th>Ticket Number</TH>
<th>Customer First Name</TH>
<th>Customer Last Name</TH>
<th>Customer Phone Number</TH>
<th>Account Number</TH>
<th>Customer's Comment</TH>
</TR>
<tr>
<td><%Response.Write objRS("Ticket_Number")%></TD>
<td><%Response.Write objRS("First_Name")%></TD>
<td><%Response.Write objRS("Last_Name")%></TD>
<td><%Response.Write objRS("Phone_Number")%></TD>
<td><%Response.Write objRS("Account_Number")%></TD>
<td><%Response.Write objRS("Cust_Com")%></td></tr>
<%
iRecordCount = iRecordCount + 1
objRS.MoveNext
Loop
objRS.close
objConn.Close
Set objRS = Nothing
Set objConn = Nothing
%>
</table>
</body>
This should show you the table as expected.
Cheers!
_________________________
- Vijay G
Strive for Perfection