Arama butonu
3
Cevap
441
Tıklama
0
Öne Çıkarma
Php Seçici Kurul
B
11 yıl
Er
Konu Sahibi

Arkadaşlar merhaba Resimdeki gibi bir script yazıyorum. Proje görselleri veritabanında geliyor. Yapmak istediğim aynı rumuz ile yüklenen proje görsellerini yan yana göstermek. Ben listelettiğim zaman tüm hepsi alt alta listeleniyor.Kullandığım kod alttadır. Nasıl birşey yapabilirim acaba.
İstediğim şema ;
rumuz 1: görsel 1 , görsel 2 , görsel 3
rumuz 2: görsel 1 , görsel 2 , görsel 3
Şeklinde

 
$sorgu=mysql_query("select * from deneme ORDER BY rumuz ASC");
while($kayit=mysql_fetch_array($sorgu)){

echo '<tr>';
echo '<td><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=92753252&url=begen.php?hit='.$kayit["id"].'" data-href="begen.php?hit='.$kayit["id"].'">Evet</a></td>';
echo '<td><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=92753252&url=begen.php?hayir='.$kayit["id"].'" data-href="begen.php?hayir='.$kayit["id"].'">Hayır</a></td>';
echo '<td>'.$kayit["hit"].'</td>';
echo '<td>'.$kayit["hayir"].'</td>';
echo '<td>'.$kayit["rumuz"].'</td>';
echo '<div class="image-row">';
echo '<td><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=92753252&url=../evrak-yukle/'.$kayit["resim_linki"].'"data-lightbox="example-1" ><img src="../evrak-yukle/'.$kayit["resim_linki"].'" width="250" height="250" data-href="../evrak-yukle/'.$kayit["resim_linki"].'"data-lightbox="example-1" ><img src="../evrak-yukle/'.$kayit["resim_linki"].'" width="250" height="250"></img></a></td>



';
echo'</div>';
echo '</tr>';

}



< Resime gitmek için tıklayın >