KATEGORİLER
if ($categoryIds == "0") {
$hako = $categoryIds;
}else if($parent == "0"){$hako = $categoryIds;}else{$hako = $parent;} ?>
$sorgu = mysql_query("SELECT * FROM `ap_categories` where `categoryParent`=$hako ORDER BY categoryId");
$sonuc = mysql_num_rows($sorgu);
if ($sonuc>0) {
while ($islem = mysql_fetch_array($sorgu)) { ?>
}}
?>