要么是数据库么有数据,要么就是where条件中的id等于了一个不存在的值
我正常进行 为什么会出现这个错误Namespace declaration statement has to be the very first statement in the script
4年前 添加回复 0
确实是放在了第一个语句啊为什么还会出现 Namespace declaration statement has to be the very first statement in the script
4年前 添加回复 0
已改好
为什么在封装数据库访问类里 视频可以直接 $this->db = new Sysdb; 我为什么就报错unexpected '->' (T_OBJECT_OPERATOR)
4年前 添加回复 0
我也绝对 框架里面不是已经封装好了Db:类库吗 直接调用就可以了啊 这样和使用db类一样的没有简化代码啊
[最新 锅锅不黑 的回答] 报的你控制器Test.php第8行问题,你得把代码发出来,这怎么知道你哪里搞错了
时间:4年前
[最新 Godspeed. 的回答] 你好我问一下,你的错误是不是:SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 'id=>1' LIMIT 1' at line 1
时间:5年前
二少爷
好好的视频非得用tp讲,麻烦死了tp
4年前 添加回复 3