• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I display a list of items and sub items from two different tables

#1
[eluser]Dan Bowling[/eluser]
I'm new to MVC, so I'm a little confused on this simple task.

I'm basically trying to show a series of items (in one table) that each have another set of items belonging to them (in another table, related through a foreign key).

I want my output like this:

Section
-item
-item
Section
-item
Section
-item

How do I set up this sort of MVC with CI?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.