阅读背景:

是否有一种更安全的方法来使用PDO,同时避免不必要的查询?

来源:互联网 

I'm using code similar to the one below to insert into a mysql DB (using PDO.) The aim was to insert data using only one query. Unfortunately it defeats the purpose of using PDO because it doesn't make use of bindValue or param. I want to write the code so that it is safer but still avoids unnecessary queries. Can anyone recommend how to do this?I'm using code similar to the one below to inse




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: