mysql_num_rows():提供的参数不是有效的MySQL [英] mysql_num_rows(): supplied argument is not a valid MySQL
本文介绍了mysql_num_rows():提供的参数不是有效的MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到以下问题:
警告:mysql_num_rows():提供的参数不是/ home / mghosped / public_html / anuncieaki / lib中的有效MySQL结果资源第149行/func_common.php
这是第149行
展开 | 选择 | Wrap | 行号
解决方案
检查 mysql_query()是否返回false。
@Dormilich
我在哪里查看?
Ps :我无法访问php.ini。
@matheussousuke
展开 | 选择 | Wrap | 行号
I''m having the following trouble:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mghosped/public_html/anuncieaki/lib/func_common.php on line 149
This is the line 149
Expand|Select|Wrap|Line Numbers解决方案check if mysql_query() return false.
@Dormilich
Where do I check that?
Ps: I''ve no access to php.ini.
@matheussousuke
Expand|Select|Wrap|Line Numbers
这篇关于mysql_num_rows():提供的参数不是有效的MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆