codeigniter – sql with multiple like’s with OR

This is kinda it!

$this->db->or_like(array('sender' => $k, 'msg' => $k));

As seen on http://stackoverflow.com/questions/23254305/multiple-like-clause-codeigniter

Leave a Reply

Your email address will not be published. Required fields are marked *

*