facebook

stupid error!

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270437 Reply

    hi, having stupid question, if any one help out.

    /************************************************************************************************/
    <%
    short counter = 0;
    for (int a=0;a<deviceList.length; a++)
    {
    if(counter == 0 ){
    out.print(“<tr>”);
    }
    %>

    <td>
    <%=deviceList[a].getImage()%>” />

    </td>

    <%
    counter++;
    if(counter == 5 ){
    counter = 0 ;
    }

    }
    %>
    /************************************************************************************************/

    its output some thing like this
    1st row 1st element
    5 row in 2nd element
    i want to display 5 <td> per <tr>

    any one ? thanks in advance

    #270487 Reply

    fixed thanks for your support 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: stupid error!

You must be logged in to post in the forum log in