call to member function bind_param() on boolean...........

Fatal error: Uncaught Error: Call to a member function bind_param() on boolean in .... Stack trace: #0 {main} thrown in.........出现这样的错误一般是数据库表名给错了,导致前面的参数无法获取正确的值,可以敲入var_dump(param_name)检测参数值是否正确获取

文章来自:http://haiyanyuan.blog.51cto.com/10071455/1731256
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3