Ich habe hier eine Tabelle:
<table border="1" width="100%" id="table1">
<tr>
<td width="248">
<table border="1" width="102%" id="table2">
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
</table>
</td>
<td>
<table border="1" width="100%" id="table3">
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
</table>
</td>
<td>
<table border="1" width="100%" id="table4">
<tr>
<td>1</td>
</tr>
<tr>
<td>2</td>
</tr>
</table>
</td>
<tr>
</table>
Hier meine schleife:
while($row = mysql_fetch_array($result))
{
echo "\n";
echo "<p align=center>" .$row['username']. "\n";
echo "\n";
}
Gibt es eine Möglichkeit das ich mit dieser schleife die oben genannte tabelle fülle.
so ungefair
1 | 2 | 3
4 | 5 | 6
7 | 8 | 9
oder so:
1 | 4 | 7
2 | 5 | 8
3 | 6 | 9
oder muss ich die while schleife auflösen und mit einer for schleife aufteilen in schritten.
Ich hoffe es weiß einer was.
mfg
Thunder