📜  codeigniter 验证文本长度 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:33.229000             🧑  作者: Mango

代码示例2
$this->form_validation->set_rules('ratingMessage', 'Review message', 'trim|max_length[255]|max_length[10]');

 $this->form_validation->set_message('max_length', 'Message you have entered for %s is too long please try again!');