In a PHP script, I have a text string (perhaps 200-300 chars): $PHPString
and in MySQL i have a table of phrases, which can be single words or text strings perhaps up to 50-100 chars.
How is the best/most efficient way to see if any phrase is in the $PHPString?
SELECT ID FROM tblPhrases WHERE $PHPString=PhraseText
thanks
Start Free Trial