<?php 
$limit = 10; 
$sql = "select * from urunler where onay='1' order by id desc limit $limit"; 
$urun = mysql_query($sql);
$x = 1;
while($uruntoparla = mysql_fetch_array($urun)) { 
?> 
	<div class="urun"><?=($uruntoparla['uruname'])?></div> 
	<?php if($x == 4): ?>
		<div class="clear></div>
	<?php endif; ?>
<? 
$x++; } 
?>