Zend Framework quoteInfo 函数
$where = $this->db->quoteInto(”id = ?”, $label_id);
相当于 $where = “id = {$label_id}”;这个函数主要功能是防止 SQL 注入
|
||||||
Zend Framework quoteInfo 函数$where = $this->db->quoteInto(”id = ?”, $label_id); Leave a Reply |
||||||
|
Copyright © 2010 Symphony 一个人不能没有长进 - All Rights Reserved
|
||||||
Recent Comments