i have tile based map
$map = '<table border="1">';
for($i = 0; $i < 4; $i++){
$map .= '<tr>';
for($i = 0; $i < 4; $i++){
$map .='<td width="50" height="50"'.$bgcolor.' align="center" valign="center">
<div id="move_'.$Tx.':'.$Ty.'">('.$Tx.','.$Ty.')</div>
</td>';
}
$map .= '</tr>';
}
$map .= '</table>';
echo $map;
Every cell has different 10x10 pixels image .
_ _ _ _
|_|_|_|_|
|_|_|_|_|
|_|_|_|_|
|_|_|_|_|
I need that new image apears after every 4th cell, because my images are 40x40 pixels. But
1.image X|2. image X
_ _ _ _ _ _ _ _
|_|_|_|_|_|_|_|_|
1.image Y |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
2.image Y |_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
|_|_|_|_|_|_|_|_|
I hope that you undestand me, my english is pretty bad Omerimuni