1、$query代码实现截图:
2、报错:SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens/nThe SQL being executed was
3、$query修改后实现截图,取消$query->addParams:
4、$query成功实现
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/250355.html