Zend Framework quoteInfo 函数
By Symphony - Last updated: Wednesday, March 26, 2008 - Save & Share - Leave a Comment
$where = $this->db->quoteInto(“id = ?”, $label_id);
相当于 $where = “id = {$label_id}”;这个函数主要功能是防止 SQL 注入
$where = $this->db->quoteInto(“id = ?”, $label_id);
相当于 $where = “id = {$label_id}”;这个函数主要功能是防止 SQL 注入