Scenario when adding city automatically adding values to the column city_longitude and latitude
$crud->set_relation('province_id','province','province_name'); $crud->set_relation('city_id', 'city', 'city_name'); $crud->display_as('provi_id','Province'); $crud->display_as('city_id','City');
How to auto insert the longitude and latitude when selecting city??