Last active
December 24, 2023 16:00
-
-
Save mcsee/25cb8c5f34c73399e24d9b338941f687 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
private function addTerms(string $SQLSelect) { | |
$selectSentence = $this->createSqlWhere(); | |
foreach ($this->texts() as $text) { | |
$selectSentence->addWhere( | |
$this->tableAlias() . | |
" LIKE '%" . | |
$this->sanitize($text) . | |
"%'"); | |
} | |
$SQLselect->addWhere($selectSentence->asSQLSentence()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment