Jump to content


retrieve values from related table where field name is already present in first table

relation

  • Please log in to reply
No replies to this topic

#1 kanted

kanted

    Member

  • Members
  • PipPip
  • 19 posts

Posted 10 February 2016 - 05:29 AM

Have tables which have same filed names

Table1

 

id | rid | qty

 

Table2

 

id | name | qty

 

$crud->set_relation('id','table2','qty');
 
how to display both qty column in crud. 
 
Need crud column something like this
 
 id | rid | qty(from table1) | qty (from table2)  
 

 

 

 







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users