[PHP] PDO占位符预处理在 IN 和 LIKE 中用法

两点注意项: 1. 占位符 (?) 必须被用在整个值的位置,不需要引号等其它字符。 2. 参数按数组元素顺序依次传递给占位符。 <?php /** * PDO基于占位符的查询预处理 * * @license Apache * @author farwish <farwish(a)foxmail.co

posted on 2017-12-18 21:27  ercom  阅读(1255)  评论(0编辑  收藏  举报