Arkadaşlar merhaba. Resimdeki gibi veritabanından veriyi çekiyorum. Ama döngüyle birden fazla veriyi nasıl çekebilirim, bilemedim. Eklediğim resimden bakabilirsiniz.
`
<?php
$resimalbumusorgusucek=$db->query("SELECT * FROM resimalbumu");
$resimalbumucek = $resimalbumusorgusucek->fetchAll(PDO::FETCH_ASSOC);
foreach($resimalbumucek as $resimalbumu) {
?>
<div style="position:relative; width:100%; height:450px; background:#cccccc; top:60px;">
<div style="position:absolute; background:#81a8f4; width:100%; height:50px; line-height:50px;
padding-left:10px; font-size:20px; color:#fff;">
Albüm Listesi
</div>
<div style="width:100%; position:absolute; height:300px;
background:; top:50px;">
<div style="width:50%; height:35px; line-height:35px; position:absolute; height:35px;
background:#fff; padding-left:10px; color:black; text-align:center;">
Albüm Adı
</div>
<div style="width:35%; position:absolute; height:35px; line-height:35px; background:brown;
margin-left:50%; padding-left:10px; color:#fff; text-align:center;">
Albüm Sırası
</div>
<div style="width:15%; position:absolute; height:35px; line-height:35px; background:blue;
margin-left:85%; padding-left:10px; color:#fff; text-align:center;">
Düzenle - Sil
</div>
<div style="width:50%; position:absolute; height:35px; line-height:35px; background:#4b7096;
top:35px; padding-left:10px; color:#fff; text-align:center;">
<?php echo $resimalbumu['resimalbumu_adi']; ?>
</div>
<div style="width:35%; position:absolute; height:35px; line-height:35px;
background:#acacac; margin-left:50%; top:35px; padding-left:10px; color:#fff;
text-align:center;">
<input type="text" name="" value="<?php echo $resimalbumu['resimalbumu_sirasi']; } ?>" style="width:50px; height:25px; color:#000; text-align:center;" />
</div>
<div style="width:15%; position:absolute; height:35px; line-height:35px;
background:#c123cc; margin-left:85%; top:35px; padding-left:10px; color:#fff;
text-align:center;">
<img src="../../../upload/icons/edit.png" title="Düzenle" />
<img src="../../../upload/icons/delete.png" style="padding-left:25px;" title="Sil"/>
</div>
</div>
`
