Here is an example of a regular expression.
select NAME from table where NAME RLIKE '^тест$' But what if this very “test” is not known in advance and comes from a php form via AJAX? With the usual query using LIKE, everything is also extremely simple and clear, but what about in such a situation?
There was an idea to transform the resulting string into an array and work with each element, but the idea did not advance further.
$_POST['field']test instead? Where thefieldkey in which the data is pushed before being sent. - wcobalt