Well... I have a database from which I want to count all the fields containing 2 elements matching the given mysql query. Uh... That probably didn't clarify a thing.
Anyway, the point is that I'm using the following query:
SELECT COUNT(*) FROM blah WHERE blah1=5 AND blahblahblah LIKE '%somestring%'
but for some reason it never returns positive values, although I don't see any problems with the syntax. Any ideas where I might have went wrong?