If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

MySQL LIKE, small problem with returned html data

I am working on a small and simple website search that uses the MySQL "LIKE" statement to return data. However, the data I'm searching also contains some html so if you search for "div" you will get a lot of results but because the html is interpreted by the browser, you will never find the string "div." in the results.

So is there a way to somehow tell MySQL to query the database and return the results that don't match a predefined set of characters (html)? Or maybe a different way of displaying the data with PHP will solve the problem.