这个问题是因为在PHP5.3.5以后对变量使用的要求就会更加的严谨了,如果你要使用 rows[title]}应该写成{$rows[‘title’]},也就是说数据库字段加单引号
Notice: Use of undefined constant title - assumed 'title'的解决方法
猜你喜欢
转载自blog.csdn.net/baiyecode/article/details/79242264
今日推荐
周排行