Answers for "grocercrud old"

0

grocercrud old

function full_example()
{
    $crud = new grocery_CRUD();
 
    $crud->set_table('customers')
        ->set_subject('Customer')
        ->columns('customerName','contactLastName','phone','city','country','creditLimit')
        ->display_as('customerName','Name')
        ->display_as('contactLastName','Last Name');
 
    $crud->fields('customerName','contactLastName','phone','city','country','creditLimit');
    $crud->required_fields('customerName','contactLastName');
 
    $output = $crud->render();
 
    $this->_example_output($output);
}
Posted by: Guest on February-05-2022

Browse Popular Code Answers by Language