Possible Duplicate:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
Aklıma gelen her şeyi denedim, ama ben bu hatayı almaya devam.
Mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /url/ on line 41
if ( $_POST[submit] == "Submit" )
{
$sql="INSERT INTO table (`content`, `userid`, `ttime`) VALUES
('$_POST[content]', '".$user_id."', '".time()."')";
$res = mysql_query($sql,$link) or die(mysql_error());
/* (line 41 is the following)*/
while($result = mysql_fetch_assoc($res)) {
} }
(Hiçbir hata sadece uyarı yazdırır) hata yazdırarak denedim, ben, sorgu değişen ben düşünüyorum her şeyi denedim. Kod gayet güzel çalışıyor - bu, her şey sadece bu uyarı görünüyorsa, ince tıklama insert does _ '..
Herhangi bir fikir?