Merhaba arkadaşlar merak ettiğim bir durum var.
Misal diyelim şöyle bir sorgumuz var

		  
<?php $duy = $DB->query("select * from menuler where durum='1' and sdurum='1' order by sira asc")->fetchAll(PDO::FETCH_ASSOC); 
            foreach($duy as $tr){?>

<?php echo $tr['seo']; ?>



<?php } ?>
Şimdi ben selecten sonra diğer selectin tablosunu yukarıdan çekebilirmiyim ?
		  
<?php $duy = $DB->query("select * from menuler where durum='1' and sdurum='1' order by sira asc")->fetchAll(PDO::FETCH_ASSOC); 
            foreach($duy as $tr){?>

BU SORGUNUN TABLOSUNU YUKARIDAN CEKEBILIRMIYIM ?

<?php $duy = $DB->query("select * from <?php echo $tr['seo']; ?> where durum='1' and sdurum='1' order by sira asc")->fetchAll(PDO::FETCH_ASSOC); 
            foreach($duy as $tr){?>

<?php } ?>	<?php } ?>