<table width="700" height="100">
<tr>
<td width="700" height="100" style="background:url('bg/<?php echo rand(1,7); ?>.gif');"></td>
</tr>
</table>
bg/ klasörü içerisine 1.gif, 2.gif, .... 7.gif şeklinde resim at rastgele arkaplan olarak çıkar. (PHP)