$asd = $sql["marka_id"];
$marka = $db->prepare("select * from marka inner join urun on marka.marka_id = urun.urun_markaid where marka_id=?");
$marka->execute(array($asd));
$marka->fetchALL(PDO::FETCH_ASSOC);
$marka = $marka->rowCount();
?>