问题描述
警告:mysql_fetch_array():提供的参数不是88行/home/breana/public_html/category.php中有效的MySQL结果资源
---------- ---------------------------------
如果没有结果,则执行此操作;空表我怎么能快速修复说没有结果...
第88行:
[PHP] if($ myrow = mysql_fetch_array($ result) ){
如果($ rowcolor == 1){
$ rowcolorhex =" #ffufff" ;;
$ rowcolor = 0;
}否则{
$ rowcolorhex ="#D6D6D6";
$ rowcolor = 1;
} [/ PHP]
它在大多数页面上弹出:
POSTED BY:
警告:mysql_fetch_array():提供的参数不是第22行/home/breana/public_html/item.php中有效的MySQL结果资源
Admin
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/breana/public_html/category.php on line 88
-------------------------------------------
It does this when there is no result "empty table" how can i do a quick fix to say No Results...
row 88:
[PHP]if ($myrow = mysql_fetch_array($result)) {
do {
if ($rowcolor == 1) {
$rowcolorhex = "#ffffff";
$rowcolor = 0;
} else {
$rowcolorhex = "#D6D6D6";
$rowcolor = 1;
}[/PHP]
It pops on most pages:
POSTED BY:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/breana/public_html/item.php on line 22
Admin
推荐答案
这篇关于警告:mysql_fetch_array():提供的参数不是有效的MySQL结果资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!