PHP Good Parts
list函数
list($table, $field)=explode('.', $field); $query = $this->CI->db->limit(1)->get_where($table, array($field => $str));
%s
$lang['required'] = "The %s field is required.";
list函数
list($table, $field)=explode('.', $field);
$query = $this->CI->db->limit(1)->get_where($table, array($field => $str));
%s
$lang['required'] = "The %s field is required.";