• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help - me ! Sql - codeigniter

#2
[eluser]ppwalks[/eluser]
Code:
$this->db->select('*');
$this->db->where_not_in('equipamentos_splitter_cor_cliente');
$this->db->where(' equipamentos_splitter_cor_cliente.equipamentos_splitter_cor_id','equipamentos_splitter_cor.id');
$this->db->where('equipamentos_splitter_cor_cliente.equipamentos_splitter_id', '1');
$query = $this->db->get('equipamentos_splitter_cor');

Something like that I think, its a bit rough to read though...


Messages In This Thread
Help - me ! Sql - codeigniter - by El Forum - 08-23-2012, 07:03 AM
Help - me ! Sql - codeigniter - by El Forum - 08-23-2012, 07:13 AM
Help - me ! Sql - codeigniter - by El Forum - 08-23-2012, 07:26 AM
Help - me ! Sql - codeigniter - by El Forum - 08-23-2012, 07:33 AM
Help - me ! Sql - codeigniter - by El Forum - 08-23-2012, 08:06 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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