title: Display a query using CodeIgniter with a condition where only the same ID
body: <p>we have 2 tables <code>tb_kriteria</code> and <code>tb_subkriteria</code> we have to get all the record from <code>tb_subkriteria</code> where <code>id_kriteria</code> from <code>tb_kriteria</code> same with <code>id_kriteria</code> in <code>tb_subkriteria</code></p>
  
  <p><a href="https://i.stack.imgur.com/MQ4S4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MQ4S4.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/sqyeM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sqyeM.png" alt="enter image description here"></a></p>