<?php for($i=0;$i<10;$i++) { for($j=0;$j<10;$j++) { ?>
<img src="rating.php?v=<?=$i?>.<?=$j?>" />
<?php } } ?>
