I guys,
I have this code,
public function vehicles() { $this->db = $this->load->database('vehicledb',true); $crud = new grocery_CRUD(); $crud->set_table('vehicle'); $crud->columns('vehicleid','motorid','name','size'); $crud->set_relation('motorid','motor','designation'); $output = $crud->render(); $this->_vehicle_output($output); }
but i can't set_relation from table "motor" because, this table is in another database (motordb).
It's possible to do this?