<table width="700" height="100"> <tr> <td width="700" height="100" style="background:url('bg/<?php echo rand(1,7); ?>.gif');"></td> </tr> </table>