hey guys please help im getting error on this 2 line
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/waplive/public_html/chat/articles.php on line 432
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/waplive/public_html/chat/articles.php on line 432
Code:
$countpics = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM iwbf_cwart WHERE artid='".$artid."'")); echo "<br/><a href=\"articles.php?&action=artcom&sid=$sid&id=$id&artid=$id&cid=$cid\">Comments($countpics[0])</a>";
Code:
$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM iwbf_cwart WHERE artid='".$artid."'"));
Comment