title: Codeigniter Get Values from two tables
body: <p>I am trying to list some data from two tables. I am trying to do this:
  From table users I am trying to list from table "firm_info" firms added for the current user.
  The idea:</p>
  
  <h3>John</h3>
  
  <ul>
  <li>firm 1</li>
  <li>firm 2</li>
  <li>firm 3</li>
  </ul>
  
  <h3>Michael</h3>
  
  <ul>
  <li>no firms listed </li>
  </ul>
  
  <h3>Joe</h3>
  
  <ul>
  <li>firm 1</li>
  <li>firm 2</li>
  </ul>