I have trouble creating a query to get a specific data using codeigniter get\_where function. I read and understand the manual and used it on my code but now when I was about to query from database like the code below it doesn't work.

Model:

```
public function load_parents () {
  $query = $this->db->get_where('checklist_items', array(('checklist_id' => $checklist_id) && ('parent_id' => $parent_id)));
  $result = $query->result_array ();
  return $result;
}

```

The Error:
**Message: syntax error, unexpected '=>' (T\_DOUBLE\_ARROW), expecting ')'**

I know the code is not right but is there another way to make it run?