```
public function search_between() {

$min = $this->request->query['min'];
$max = $this->request->query['max']; 

$conditions = array('Ad.price BETWEEN ? AND ?' => array($min,$max));
$ads = $this->Anuncio->find('all',array('conditions' => $conditions));
$this->set('ads',$ads);

} 

```

**Warning: strlen() expects parameter 1 to be string, array given.**

```
**Thank's for your help I'm new to asking questions here.**

```