我怎么能执行一个查询,与不具有包围引号,像这样的paramters之一 - 使用的东西PHP查询不excuting正确
select * from table where column1 = 'value1' and column2 = value2 //value2 has no ''
现在,在PHP IM像
query("select * from table where column1 = ? and column2 = ?",array($value1,$value2)
那是一个例子。并在sql中如此移植
select * from table where column1 = 'value1' and column2 = 'value2' //value2 has quotes, this is what i want to ignore/remove
这怎么可以在PHP中完成?