文章詳情頁(yè)
dump(Db::query(’SELECT * FROM `user`’));的時(shí)候提醒錯(cuò)誤。
瀏覽:115日期:2022-06-07 15:06:16
問(wèn)題描述
編寫(xiě)代碼的時(shí)候提醒 no data sources are configured to run this sql。運(yùn)行的時(shí)候提示Array to string conversion
問(wèn)題解答
回答1:應(yīng)該是沒(méi)有配置數(shù)據(jù)庫(kù)連接
回答2:< style="margin: 0px; padding: 0px; font-weight: 400; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-size: 18px; color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微軟雅黑, Tahoma, Arial, sans-serif; white-space: normal;">`user`')??
上一條:新建index文件夾,然后把controller 以及文件index.php放入index文件夾。修改htaccess文件為擴(kuò)展訪(fǎng)問(wèn)。但是訪(fǎng)問(wèn)的時(shí)候提示頁(yè)面錯(cuò)誤!請(qǐng)稍后再試。PHP版本正常,請(qǐng)老師解答下一條:為什么運(yùn)行到ajax請(qǐng)求這里就不行了,想實(shí)現(xiàn)注冊(cè)功能實(shí)現(xiàn)不了
相關(guān)文章:
1. html5 - angularjs中外部模版加載無(wú)法使用2. 在MySQL中新增字段時(shí),報(bào)錯(cuò)??3. 老哥們求助啊4. java - 安卓電視盒子取得了root權(quán)限但是不能安裝第三方應(yīng)用,請(qǐng)問(wèn)該怎么辦?5. javascript - js 寫(xiě)一個(gè)正則 提取文本中的數(shù)據(jù)6. npm鏡像站全新上線(xiàn)7. javascript - vue-router怎么不能實(shí)現(xiàn)跳轉(zhuǎn)呢8. css3 - 請(qǐng)問(wèn)一下在移動(dòng)端CSS布局布局中通常需要用到哪些元素,屬性?9. python - 模擬滑動(dòng)驗(yàn)證碼,有源碼,求解10. 我的Apache卡在這里不動(dòng)了怎么辦?
排行榜

熱門(mén)標(biāo)簽