genererer tabel?
<table border="1" cellspacing="0" bordercolor="#000000" cellpadding="0"><tr>
<a href="?x=1&y=1"><td height="50" width="50"><?=$sted[1][1];?></td></a>
<a href="?x=2&y=1"><td height="50" width="50"><?=$sted[2][1];?></td></a>
<a href="?x=3&y=1"><td height="50" width="50"><?=$sted[3][1];?></td></a>
<a href="?x=4&y=1"><td height="50" width="50"><?=$sted[4][1];?></td></a>
</tr>
<tr>
<a href="?x=1&y=2"><td height="50" width="50"><?=$sted[1][2];?></td></a>
<a href="?x=2&y=2"><td height="50" width="50"><?=$sted[2][2];?></td></a>
<a href="?x=3&y=2"><td height="50" width="50"><?=$sted[3][2];?></td></a>
<a href="?x=4&y=2"><td height="50" width="50"><?=$sted[4][2];?></td></a>
</tr>
<tr>
<a href="?x=1&y=3"><td height="50" width="50"><?=$sted[1][3];?></td></a>
<a href="?x=2&y=3"><td height="50" width="50"><?=$sted[2][3];?></td></a>
<a href="?x=3&y=3"><td height="50" width="50"><?=$sted[3][3];?></td></a>
<a href="?x=4&y=3"><td height="50" width="50"><?=$sted[4][3];?></td></a>
</tr>
<tr>
<a href="?x=1&y=4"><td height="50" width="50"><?=$sted[1][4];?></td></a>
<a href="?x=2&y=4"><td height="50" width="50"><?=$sted[2][4];?></td></a>
<a href="?x=3&y=4"><td height="50" width="50"><?=$sted[3][4];?></td></a>
<a href="?x=4&y=4"><td height="50" width="50"><?=$sted[4][4];?></td></a>
</tr>
</table>
-----------------------------------------------------------
Nogen den kan hjælpe med at lave dette om til en et lille script i en for-løkke
jeg har tabt overblikket *G*
