Merhba işlemi Döngüye Sokmadan Gerçekleştiremiyor muyum acaba tek tek mümkün değil öyle değil mi ? ? sameet35
döngüye sokmadan tek tek bu şekilde alabilirsin
$urunler_1=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 0,1"));
$fiyat1_1= $urunler_1['urunFiyat'];
$urunisim_1= $urunler_1['urunAd'];
$urunler_2=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 1,2"));
$fiyat1_2= $urunler_2['urunFiyat'];
$urunisim_2= $urunler_2['urunAd'];
$urunler_3=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 2,3"));
$fiyat1_3= $urunler_3['urunFiyat'];
$urunisim_3= $urunler_3['urunAd'];
$urunler_4=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 3,4"));
$fiyat1_4= $urunler_4['urunFiyat'];
$urunisim_4= $urunler_4['urunAd'];
$urunler_5=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 4,5"));
$fiyat1_5= $urunler_5['urunFiyat'];
$urunisim_5= $urunler_5['urunAd'];
$urunler_6=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 5,6"));
$fiyat1_6= $urunler_6['urunFiyat'];
$urunisim_6= $urunler_6['urunAd'];
$urunler_7=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 6,7"));
$fiyat1_7= $urunler_7['urunFiyat'];
$urunisim_7= $urunler_7['urunAd'];
$urunler_8=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 7,8"));
$fiyat1_8= $urunler_8['urunFiyat'];
$urunisim_8= $urunler_8['urunAd'];
$urunler_9=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 8,9"));
$fiyat1_9= $urunler_9['urunFiyat'];
$urunisim_9= $urunler_9['urunAd'];
$urunler_10=mysql_fetch_array(mysql_query("SELECT * FROM urunler order By id desc limit 9,10"));
$fiyat1_10= $urunler_10['urunFiyat'];
$urunisim_10= $urunler_10['urunAd'];