Friends, In the table there is a column name. The table has a record, for example, "Ivanov Roman Kapranovich"
The task is to create such a query that would be able to output this line "Ivanov Roman Kapranovich" if the required phrase, for example, only 4 characters - "Ivan". At the moment I am testing everything with a request in this format:
SELECT * FROM users WHERE MATCH (name) AGAINST ('".$_GET['user']."' IN BOOLEAN MODE) But as practice has shown, this request does not find what I need. It only works if the required phrase is completely written, without errors and in its entirety (thank God that it does not respond to the register). But my task is to do a search with a half-word.
SELECT * FROM users WHERE LOWER(name) like '%иван%'? - nobody