您好,欢迎访问一九零五行业门户网

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

php 无效sql结果资源 mysql
nbsp;html public -//w3c//dtd xhtml 1.0 transitional//en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd>
江苏农二代农林生态发展有限公司
?>
客户服务 | 常见问题 | 农庄专家 | 招商加盟 | 设为主页
首 页
 走进农二代
 新闻中心
 特种养殖
 绿色产品
 园林工程
 服务范围
 人力资源
  客户留言
  联系我们
新闻中心 news
公司新闻
行业咨询
技术问答
成功案例
客户评价
公司服务
新闻中心
您现在位置:首页 > 新闻中心
错误信息
warning: mysql_fetch_array(): supplied argument is not a valid mysql result resource in c:\apache\htdocs\growers\news.php on line 147
回复讨论(解决方案) $sql = mysql_query(select * from frontpagenews where identification = .$_get['identification']. order by createdate desc limit 0,7);
 mysql_query(select * from frontpagenews where identification = .$_get['identification']. order by createdate desc limit 0,7);
除非 $_get['identification'] 最后的字符是空格,不然 $_get['identification'] 的值不就和 order 连在一起了?
如果 $_get['identification'] = 1
你的 sql指令不就了
select * from frontpagenews where identification = 1order by createdate desc limit 0,7
吗?
粗心要人命啊。多谢了。少个空格
其它类似信息

推荐信息