php查询mysql的sql语句问题
mysql_select_db("icezwing");$result=mysql_query("selecttop2*frommessage");131$answer=...
mysql_select_db("icezwing");
$result=mysql_query("select top 2 * from message");
131 $answer=mysql_fetch_array($result);
mysql_close($db);
return $answer;
出错提示:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource 展开
$result=mysql_query("select top 2 * from message");
131 $answer=mysql_fetch_array($result);
mysql_close($db);
return $answer;
出错提示:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询