Php Check If String Has Substring In Sql