doupang4126 2011-01-24 02:49
浏览 43

这个错误代码是什么意思PHP [重复]

Possible Duplicate:
mysql_fetch_array() expects parameter 1 to be resource, boolean given in select

I am attempting to install a booking calender script onto a server but am obtaining this error when I run it.

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/illstudy/public_html/includes/functions.php on line 801
  • 写回答

5条回答 默认 最新

  • doubao6464 2011-01-24 02:52
    关注

    There is a bug in the script. It is passing a boolean (true or false) value into a function that wants a recordset from a SQL query. This may be because the SQL query failed, and the script did not check for the error. It's hard to be more specific without seeing the code that's causing the problem, though.

    评论

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序