如何修复:“警告:mysql_fetch_assoc():提供的参数无效。 。 &QUOT ;? [英] How to fix: "Warning: mysql_fetch_assoc(): supplied argument is not a valid . . "?

查看:52
本文介绍了如何修复:“警告:mysql_fetch_assoc():提供的参数无效。 。 &QUOT ;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我知道这是一个常见的问题,因为我无休止地在互联网上寻找解决方案。


脚本已经安装并为我设置,因为我是一个完整的初学者,所以不幸的是我对已经发布的一些解决方案一点都不了解。


我已经调查了它现在了解代码应该做什么或者尝试做什么。



错误是


" ;警告:mysql_fetch_assoc():提供的参数不是第213行的/path/to/file/index.php中的有效MySQL结果资源


第213行是....

Hi

I am aware that this is a common problem as I have scoured the internet endlessly looking for a solution.

The script was installed and set up for me because I am a complete beginner so unfortunately I have made little sense of some of the solutions that have been posted.

I have looked into it and now have some understanding of what the code should be doing or what it is trying to do.


The error is

"Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /path/to/file/index.php on line 213"

Line 213 is....

展开 | 选择 < span class =codeDivider> | Wrap | 行号

推荐答案

问题可能出现在mysql_query()调用中。在那里死了一个错误信息。
the problem likely arises in a mysql_query() call. die with an error message there.
展开 | 选择 | Wrap | 行号


感谢您的回复Dormilich,但我仍然不清楚我需要什么执行
Thanks for your reply Dormilich but I am still unclear as to what I need to do


尝试以下操作。转到index.php中的#213行,查找之前调用的mysql_query(),插入/追加帖子#2中的代码,在此处发布结果。
try the following. go to line #213 in index.php, look for mysql_query() that is called before that, insert/append the code from post#2, post result here.


这篇关于如何修复:“警告:mysql_fetch_assoc():提供的参数无效。 。 &QUOT ;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆