title: CodeIgniter where and like sql query statement
body: <p>I am trying to do this sql query on codeigniter</p>
  
  <pre><code>SELECT* FROM person WHERE type = 'staff' AND description LIKE 'university%'
  </code></pre>
  
  <p>I am not sure if it is correct...</p>
  
  <pre><code>$this-&gt;db-&gt;get_where('person' , array('type'=&gt;'staff'))
           -&gt;like('description','university%')
           -&gt;result_array();
  </code></pre>
  
  <p>does anyone have an idea about my case? thanks in advance ...</p>