I have a question. Add a record to the database, the user gives the following data.
How to do it automatically insert the value of the segment:
$this->uri->segment(6);
Thanks
@edit
Ok, solved
$id_meczu = $this->uri->segment(6);
$crud->change_field_type('mecz_id', 'hidden', $id_meczu);