Welcome Guest, Not a member yet? Register   Sign In
Quick question! Multiple tables
#3

[eluser]Paleleaves[/eluser]
Hi,

thanks for the help. But it didn't work at all. I've changed the <Model> like below.

Code:
&lt;?php
class Articles_model extends Model
{
  function Articles_model()
  {
      parent::Model();
      $this->load->database();
  }
  
function list_participants($num, $offset)
  {
      

$query = $this->db->join('SELECT * FROM property, district, ptype WHERE property.reqType = ptype.pID AND property.districtName = district.dID', $num, $offset);
      return $query;
  }
}
?&gt;

I spent many hours to correct this issue and tried different methods! :red:


Messages In This Thread
Quick question! Multiple tables - by El Forum - 10-28-2009, 10:36 AM
Quick question! Multiple tables - by El Forum - 10-28-2009, 10:47 PM
Quick question! Multiple tables - by El Forum - 10-30-2009, 12:07 AM
Quick question! Multiple tables - by El Forum - 10-30-2009, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB