..codeigniter/index.php/examples/customers_management/edit/1
question how to insert another id on the uri of the link like
..codeigniter/index.php/examples/customers_management/edit/1/1
basically i need to pass on two ids on the function like?
function customers_management($id_1 = NULL, $id_2 = NULL)
{
$crud = new grocery_CRUD();
$crud->set_table('customers');
$crud->columns('customerName','contactLastName','phone','city','country','salesRepEmployeeNumber','creditLimit');
$crud->display_as('salesRepEmployeeNumber','from Employeer')
->display_as('customerName','Customer Name')
->display_as('contactLastName','Last Name');
$crud->set_subject('Customer');
$crud->set_relation('salesRepEmployeeNumber','employees','lastName');
$output = $crud->render();
$this->_example_output($output);
}
1.) How can i use the two id that i have passed onto the function?,
2.) Is this possible also upon querying? where two ids at the same time can be put on the link?