$name =$this->input->post('name', TRUE);
$address =$this->input->post('address', TRUE);
$website =$this->input->post('website', TRUE);
$phone =$this->input->post('phone', TRUE);
$fax =$this->input->post('fax', TRUE);
这让我有些大量的代码,因为我允许用户输入信息很多....
这是简单的代码,那么更简化些什么? – feeela
我想他想要一些循环的方法。 – shanethehat