Hello,
I'm using this code to make a list of content in a table on a MySQL database:
It's building a table and each entry goes in its own <td>. However, I want it to go onto a new line on the table (a new <tr>) every 4 mysql table rows (people).Code:$query = mysql_query("SELECT * FROM `staff`"); while($row = mysql_fetch_array($query)){
How would I do this?
+rep to first correct/best solution.
Thank you.







Try this.