$this->load->library("input");
加载上面的代码有什么意义?发现它在某人的代码中。这是功能:
public function do_add(){
$this->load->library("input");
$title = $this->input->post("title");
$text = $this->input->post("text");
$this->load->model("post_model", "model");
$this->model->add($title, $text);
redirect(site_url("post"));
}