Forum Moderators: coopster
if ($kw LIKE "%baby%"){$XXX=TRUE;}
What would be valid would be to craft a query..
$sql = "SELECT * from table WHERE $kw LIKE '%baby%'";
Then you can continue with $XXX=TRUE if the statement returns true.