It is necessary to search the table according to the data from the post request
$query = "SELECT * FROM vhod WHERE `otdel` LIKE '%".$_POST['compare']."%' OR `number` LIKE '%".$_POST['compare']."%' OR `sname` LIKE '%".$_POST['compare']."%' OR `Time` LIKE '%".$_POST['compare']."%'"; When the string contains Latin characters, the query works with a bang, when I enter data in Cyrillic, the query is not executed. Checked what comes in the POST request via echo (), everything is correct there. Therefore, I assume that the matter is in the condition, but that's what ..?