|
楼主 |
发表于 2008-8-29 17:55:43
|
显示全部楼层
$rules['loginId'] = "required";
$rules['password'] = "required";
$this->validation->set_rules($rules);
$fields['loginId'] = 'ログインID';
$fields['password'] = 'パスワード';
$this->validation->set_fields($fields);
if ($this->validation->run() == FALSE){
$this->load->view('m01login_view');
} |
|