I would like to pass array to `like` clause of active record in codeignter for that i have written the following:

```
$array_string = smart,intelligent,awesome;

$array_like = explode(',',$array_string);

```

and in model:

```
$this->db->like('topic',array($array_like));

```

but I am getting

```
Severity: Notice
Message: Array to string conversion

```

Any help or suggestion would be a great help.

See updated question here:
[join not giving required result when using or\_like codeigniter](https://stackoverflow.com/questions/21416415/join-not-giving-required-result-when-using-or-like-codeigniter)