這個警告不知道如何解決mysql_fetch_array() expects parameter 1 to be resource

來源:互聯網
上載者:User
這個警告不知道怎麼解決mysql_fetch_array() expects parameter 1 to be resource
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /data/multiserv/users/983917/projects/2245004/www/view.php on line 42

本機伺服器調試沒有出現這個警告,上傳到遠程伺服器就出現了...而且我沒有許可權修改遠程伺服器的配置..只能從代碼這裡來解決

view.php
HTML code
 PHP
  
店鋪名字
電話

食客評分(0~10)

"; echo "評分個數:".$result5['count']; ?>
菜單

"; $i++; } while($result3=mysql_fetch_array($result2)) ;}?>

備忘
食客評價 "; $i++; } while($result4=mysql_fetch_array($commentquery,$mylink)); } else { echo "暫無評論,我們期待你的參與"; } ?>

給店家

評分評價

">上一間 /// ">下一間

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.