// Get content (by ID) $this->db->where("id",$id); $this->db->get("tablename"); // Get ALL the content $this->db->get("tablename"); // Inser Content $this->db->insert("tablename"); // Update Content (by ID) $this->db->where("id",$id); $this->db->update("tablename"); // Delete Content (by ID) $this->db->where("id",$id); $this->db->delete("tablename");