jianbin
Posts: 1
|
Posted: 04/07/2006, 3:30 PM |
|
can anyone help?
JSP - display catalog limit the number of columns
e.g 1 columns 4 product item..
can anyone help ?
<%
try {
while (Rs.next()){
if count mod 3=0 {
%>
<tr>
<td><a href="3.jsp?pid=<%=Rs.getString("product_id")%>">
<img src="<%=Rs.getString("product_img")%>"><br>
<%=Rs.getString("product_name")%></a></td>
<td><a href="3.jsp?pid=<%=Rs.getString("product_id")%>">
<img src="<%=Rs.getString("product_img")%>"><br>
<%=Rs.getString("product_name")%></a></td>
</tr>
<%
count=count+1;
}
} catch (Exception e) {}
%>
no idea...please help ..thank
|
|
|
|