注册 登录
编程论坛 PHP技术论坛

php问题。。。

dahuamao286 发布于 2005-12-14 14:29, 899 次点击

$query="select * from liuyan where bookseries='$book_series' order by id";
$result=mysql_query($query);
$num=mysql_num_rows($result); //这一行告警


总是显示这样的告警。。。

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/gdgl/library/showbookdetail.php3 on line 89


谢谢!

1 回复
#2
dahuamao2862005-12-14 14:55

问题弄好了
是我liuyan这个表里的bookseries字段名字弄错了,呵呵

1