my code
$crud->set_relation('RoleTypeId', 'type_role', 'Title');
then i got this
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' type_role.Title as s4fe56881 FROM `type_role` ORDER BY `s4fe56881`' at line 1
SELECT type_role., type_role.Title as s4fe56881 FROM `type_role` ORDER BY `s4fe56881`
Filename: models/Grocery_crud_model.php
Line Number: 278
any advice?
Thanks