User inputs some keywords that he wants to get a notification, when a new post title contains these. Here is what I'm currently trying:
LOCATE( LOWER( REPLACE( `app_notif_keywords` , ' ', ',' ) ) , LOWER( REPLACE( 'Visiska tamsa | Pitch Black (2000)', ' ', ',' ) ) ) !=0
Here is a stripped down version:
LOCATE('the,gift,pitch,black', 'visiska,tamsa,|,pitch,black,(2000)')
However, I'm getting nothing returned. What can I use instead to make it work?