php & mysql - sorun :)

Yuc3L

New member
Katılım
20 Haz 2005
Mesajlar
1,213
Reaction score
0
Puanları
0
Konum
Morg!
PHP:
$sql="select * from ilanlar WHERE tipi = '$tip' AND cinsi = '$cins'";
$sorgu=mysql_query("$sql");

while ($sonuc=mysql_fetch_array($sorgu)){
                echo $sonuc[0];
}

cinsi değişkeni bos değil. vb baglantısı sorunsuz, ama bu koddan sonuc alamıyorum?
 
Geri
Üst