sephinah
sephinah
public function add_students() { $crud = new grocery_CRUD(); $crud->set_theme('bootstrap'); $crud->set_table('studentdb'); $crud->columns('LRN','year_section','yearLevel','section_list','studentLastName','studentFirstName','studentMiddleName','phone','address','guardian','contactNo'); $crud->display_as('studentLastName','Last Name') ->display_as('studentFirstName','First Name') ->display_as('studentMiddleName','Middle Name') ->display_as('phone',"Tel. No. / Phone No.") ->display_as('LRN',"Learner's Reference Number") ->display_as('guardian',"Parent / Guardian") ->display_as('contactNo',"Contact No....