title: remove html tags from result in CodeIgniter
body: <p>I am getting result from database </p>
  
  <pre><code>$query = $this-&gt;db-&gt;query("Select Query");
  return $query-&gt;result_array();
  </code></pre>
  
  <p>In controller</p>
  
  <pre><code>$this-&gt;output-&gt;set_content_type('application/json');
  echo json_encode($query);
  </code></pre>
  
  <p>Now I want to remove all html tags from text inside array result in model. </p>