Forum Moderators: coopster
<div style="font-size:12px">This is a body area</div> I would like to know,
is there any function to strip the html tags while executing query?
something like:
[HIGHLIGHT="MySQL"]SELECT * FROM cms_pages WHERE strip_tags(body) LIKE '%keywords%';[/HIGHLIGHT]
or by any other means?
Thanks
However, if your pattern ins predictable, for example, always has an opening and closing div like you've posted, you can use mySQL regular expressions.