我老是碰到的警告提示~~帮我看看

lingye lingye 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/ylw/msn/gw.php on line 535

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/ylw/msn/gw.php on line 537

我的程序如下:
$type="极品笑话";
$result=mysql_query("select * from msn_joke_cust where msn='$user'");
$idx=mysql_fetch_assoc($result);
$id=$idx['idx'];
$rs=mysql_query("select content from msn_joke where joke_type='$type' limit $id,1");
$content=mysql_fetch_assoc($rs);
mysql_free_result($rs);
mysql_free_result($result);
return $content['content'];
...全文
评论 4
收藏 已收藏
分享
返回顶部
lingye
基础编程 21,889 成员 140,329 内容