Welcome Guest, Not a member yet? Register   Sign In
How to Force Code Igniter to NOT to excape queries?
#6

[eluser]Sheikh Aman Alam[/eluser]
Got it working.
used the join() method and now the code is like-

$this->db->select(`comment`.`commenttext`, `comment`.`cd`, `user`.`username`);
$this->db->from('comment');
$this->db->join('user','user.userid=comment.userid');
$this->db->where($criterea);
$resultSet= $this->db->get()

thanks a lot for giving ideas guys..
:-)


Messages In This Thread
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-05-2010, 08:38 AM
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-05-2010, 08:50 AM
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-05-2010, 08:54 AM
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-05-2010, 09:10 AM
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-05-2010, 11:07 PM
How to Force Code Igniter to NOT to excape queries? - by El Forum - 02-06-2010, 01:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB