CodeIgniter Forums
Problem Model database record find data other table - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Problem Model database record find data other table (/thread-71547.html)



Problem Model database record find data other table - ayepes2003 - 08-27-2018

Hi, friends

i new in codeigniter.

i are work framework scriptcase and php blank.

i have problem in use codeigniter

My case

 i have table  n campos for example write 3

table 1
itemid  colorsactive coste
1           A/B/C/D       1

table 2
itemid colorname
1           A
1           B
1           C
1           D 

i have view datatable. perfect

i need view in field colorsactive for record all options the other table.


RE: Problem Model database record find data other table - php_rocs - 08-28-2018

@ayepes2003@gmail.com,

I'm trying to follow what your asking but I'm not sure I understand. Are you trying to merge table 1 and table 2 into a datatable view?