title: How to search element by some keyword?
body: <p><strong>View</strong></p>
  
  <pre><code>&lt;form action="&lt;?php echo base_url()?&gt;user/category" method="post"&gt;
  &lt;label&gt;Hr&lt;/label&gt;
      &lt;input type="checkbox" name="check[]" value="hr"/&gt;
      &lt;label&gt;Developer&lt;/label&gt;
      &lt;input type="checkbox" name="check[]" value="Developer"/&gt;
      &lt;label&gt;Designer&lt;/label&gt;
  &lt;input type="checkbox" name="check[]" value="Designer"/&gt;
  &lt;label&gt;CEO&lt;/label&gt;
  &lt;input type="checkbox" name="check[]" value="CEO"/&gt;
  &lt;label&gt;Developer/Designer&lt;/label&gt;
  &lt;input type="checkbox" name="check[]" value="Developer,Designer"/&gt;
  &lt;input type="submit" value="submit"/&gt;
  </code></pre>
  
  <p><strong>Model</strong></p>
  
  <pre><code> function category($data){
              $this-&gt;db-&gt;select("*");
              $this-&gt;db-&gt;from("data");
              $this-&gt;db-&gt;where_in('profile',$data);
              $query =  $this-&gt;db-&gt;get();
              return $query-&gt;result_array();
          }
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>function category(){
      $details =$this-&gt;input-&gt;post('check');
      if(!isset($details)){
          $this-&gt;Ulogin();
      }
      else
      {
       $details =$this-&gt;input-&gt;post('check');
      // var_dump($details);
      $data = $this-&gt;user_model-&gt;category($details);
      var_dump($data);
      }
  }
  </code></pre>
  
  <p>When I search for single string like <code>developer/designer</code>, it is working but its not returning string whose profile column like <code>developer</code>,<code>designer</code>. I want
  when I search for developer it should return whose profile is <code>developer</code> or <code>developer</code>,<code>designer</code> both.</p>