Jump to content

Table at SQL Query


Mudsaf

Recommended Posts

Im trying to make php script that gets data from sql and adds it to table, but i have one small problem. I want my table to have total of 8x td and then new row <tr>.

Im using while ($row = mysql_fetch_array) {  Adds the <td's>}

Example.

<tr>  <td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>

So my point is that when the sql query gets information to table after every 8 information taken from sql it creates new tr.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...