include("class/header.php"); $Kat_List=mysql_query("select * from `kategoriler` order by Kat_Adi"); $Kat_Adet=mysql_num_rows($Kat_List); for($i = 0; $Kategoriler[$i] = mysql_fetch_assoc($Kat_List); $i++) ; array_pop($Kategoriler); $Urun_List=mysql_query("select * from `urunler` left join kategoriler on kategoriler.Kat_ID=urunler.Urun_Kat_ID order by Urun_Adi"); $Urun_Adet=mysql_num_rows($Urun_List); for($i = 0; $Urunler[$i] = mysql_fetch_assoc($Urun_List); $i++) ; array_pop($Urunler); mysql_close(); ?>