Hello,
How can I use multiple set_relation with the same field_name? This is not working:
$crud->set_relation('cityid','pc','postalcode');
$crud->set_relation('cityid','cities','cityname');
Thanks for your help.
Posted 14 January 2018 - 06:38 PM
Hello,
How can I use multiple set_relation with the same field_name? This is not working:
Thanks for your help.
Posted 14 January 2018 - 07:56 PM
Posted 15 January 2018 - 03:06 PM
I can't use different fields as I only have one FK (cityid) that relates both tables.You need to change first field name. Use cityid_pc and cityid_cities for example
Support →
I have a question →
set relations between tables in different databases, same "domain", same databases passwordsStarted by fede72bari, 15 May 2020 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
fields with set_relation inserts empty when save button (not save and go back to list)Started by troyv, 08 Oct 2019 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
set_relation including where statementStarted by noplan, 18 Mar 2019 ![]() |
|
![]() |
||
Support →
I have a question →
set_relation with where parameterStarted by noplan, 17 Mar 2019 ![]() |
|
![]() |
||
Support →
General →
removing the priority from relation file in an n to nStarted by richb201, 17 Apr 2018 ![]() |
|
![]() |
0 members, 0 guests, 0 anonymous users