get_form(); break; case 'save': $harvest=new harvest($id_harvest); $data['name']=$name; print $harvest->save($data); $harvests=new harvests(); print $harvests->get_list(); break; case 'delete': $harvest=new harvest($id_harvest); print $harvest->delete(); $harvests=new harvests(); print $harvests->get_list(); break; case 'test': $harvest=new harvest($id_harvest); print $harvest->havest_notice(); break; default: $harvests=new harvests(); print $harvests->get_list(); break; }