codeignite表单验证

关于codeignite表单验证。

$this->load->helper(array('form','url'));

$this->load->library('form_validation');

$this->form_validation->('input','input','required');

if ($this->form_validation->run() ==FALSE)

{

aaaaaaaaaa

}esle{

}

 

posted @ 2013-01-27 11:57  WingPig99  阅读(206)  评论(0编辑  收藏  举报