title: how to use strip_tags in query for a field
body: <p>I have written the below query in a function:</p>
  
  <pre><code> $dsearch=mysql_real_escape_string($condition['title']);
   "select id, title , category, little, strip_tags('description') AS strip_desc,flag , 
         POSITION('$dsearch' IN title) AS pos_title,
         POSITION('$dsearch' IN strip_desc) AS pos_desc, 
      from    tbl_contents 
      where  title RLIKE  '[[:&lt;:]]".$dsearch."[[:&gt;:]]'
             or 
             description RLIKE  '[[:&lt;:]]".$dsearch."[[:&gt;:]]' 
      order by priority desc"
  </code></pre>
  
  <p>But the "strip_tags" does not work and I get errors. Is the method for this query wrong? 
  thanks for your help in advance.</p>