$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