db->where('user_id', $user_id); $query = $this->db->get('lotw_certs'); return $query; } function empty_table($table) { $this->db->empty_table($table); } } ?>