文章详情页
dump(Db::query(’SELECT * FROM `user`’));的时候提醒错误。
浏览:68日期:2022-06-07 15:06:16
问题描述
编写代码的时候提醒 no data sources are configured to run this sql。运行的时候提示Array to string conversion
问题解答
回答1:应该是没有配置数据库连接
回答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文件为扩展访问。但是访问的时候提示页面错误!请稍后再试。PHP版本正常,请老师解答下一条:为什么运行到ajax请求这里就不行了,想实现注册功能实现不了
相关文章:
排行榜
