Skip to content

Instantly share code, notes, and snippets.

@jlebrech
Created October 27, 2010 12:28
Show Gist options
  • Save jlebrech/648934 to your computer and use it in GitHub Desktop.
Save jlebrech/648934 to your computer and use it in GitHub Desktop.
$this->db->where('id',$contact_id);
$this->db->where('status_id',"1");
$query = $this->db->from('contacts');
echo $this->db->last_query();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment