I have this code
$crud->set_relation_n_n('Employee', 'MessageDetail', 'Employee', 'MessageID', 'EmployeeID', 'FirstName','priority');
In employee table , i have two columns 'FirstName' and 'LastName' ,when relating I want to show both fields in the relational table..
Therefore instead of just 'FirstName' ,can i do something like this
fullName = 'FirstName' . 'LastName';
Is this possible to do something like this ?
$crud->set_relation_n_n('Employee', 'MessageDetail', 'Employee', 'MessageID', 'EmployeeID', 'fullName','priority');