Mysql_fetch_object(): supplied argument is not a valid MySQL result resource hatası

munirbesye

Öğrenci
Katılım
18 Haziran 2013
Mesajlar
9
Reaksiyon puanı
0
Puanları
0
Bu kodlarda;

$id=$_GET['id'];
$iceriksorgu = mysql_query("Select * from icerikler where icerikid=$id");
$iceriksonuc = mysql_fetch_object($iceriksorgu);

mysql_fetch_object(): supplied argument is not a valid MySQL result resource


bu hata çıkıyo yardım edin lütfenn
 

eSa

Dekan
Katılım
5 Kasım 2011
Mesajlar
9,780
Reaksiyon puanı
352
Puanları
263
$iceriksorgu =mysql_query('Select * from icerikler where icerikid=' .$id );
 
Üst