Hi, in first tiem, sorry for my english hehe.
I have a poblem with the function set_relations, i need show a client table and a table for user, pass and rol for the clients, they are two relation tables (clientes and claves), this is my code:
$crud = new grocery_CRUD(); $crud->set_table('clientes'); $crud->set_subject('Clientes'); $crud->set_relation('id', 'claves', '{usuario} {rol}'); $output = $crud->render();
The problem is that the code only show de columns of clientes, but not show the columns 'usuario' and 'rol'.
Please help me. Thank you very much.