merhaba arkadaşlar kodlamam gereken bir sayfa var ilgili kodlar aşağıda ama bir hata yaptım listeleme yapmıyor acaba hata nedir?
yardım ederseniz sevinirim
teşekkürler
yardım ederseniz sevinirim
teşekkürler
PHP:
<?php
$sorgu = mysql_query("SELECT * FROM odemeler WHERE durum='onaylanmadi' ORDER BY id DESC");
while ($cek = mysql_fetch_array($sorgu)) {
$id = $cek[id];
$odemeyapanid = $cek[odemeyapanid ];
$odemeyapilanis = $cek[odemeyapilanis];
$sorgu1 = mysql_query("SELECT * FROM uyeler WHERE id='$odemeyapanid' ORDER BY id DESC");
while ($cek1 = mysql_fetch_array($sorgu1)) {
$sorgu2 = mysql_query("SELECT * FROM siparis WHERE id='$odemeyapilanis' ORDER BY id DESC");
while ($cek2 = mysql_fetch_array($sorgu2)) {
$no = $no+1;
echo "<div align='center'>
<table border='0' id='table3' style='border-width:0px; ' width='700'>
<tr>
<td style='border-style: none; border-width: medium; ' width='45' align='center'>
<font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>
$no</font></td>
<td style='border-style: none; border-width: medium; ' width='150' align='left'>
<font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>
<a class=\"thumbnail\" href=\"#\"><font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#e30000'>$cek1[ad_soyad]</font><span>$cek[adsoyad]</span></a></font></td>
<td style='border-style: none; border-width: medium; ' width='200' align='left'>
<font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>
ID : $cek2[id] $cek2[is_turu] Tasarımı</font></td>
<td style='border-style: none; border-width: medium; ' width='80' align='left'>
<font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>
$cek[tarih]</font></td>
<td style='border-style: none; border-width: medium; ' width='120' align='left'>
<font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>
<a class=\"thumbnail\" href=\"#\"><font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#e30000'>$cek[tutar]</font><span>Hesap No: $cek[hesapno]</br></br>Açıklama: $cek[aciklama]</span></a></font></td>
<td style='border-style: none; border-width: medium; ' align='center' width='150'>
<a href='odeme_sil.php?id=$cek[id]'><font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>Sil</font></a> - <a href='odeme_onayla.php?id=$cek[id]'><font face='Tahoma' style='font-size: 9pt; font-weight: 700' color='#E30000'>Onayla</font></a></td>
</tr>
</table>
</div>";
}
}
}
?>