With this query: And when searching for one value
SELECT * FROM resources LEFT JOIN users ON users.id=resources.author_id LEFT JOIN categories ON categories.categories_id=resources.categories_id LEFT JOIN specialty ON specialty.specialty_id=resources.specialty_id WHERE categories.categories LIKE '%$_GET[categories]%' AND title LIKE '%$_POST[search]%' OR categories.categories LIKE '%$_GET[categories]%' AND description LIKE '%$_POST[search]%' OR ....... everything is fine, but if you search for more than one value, it does not find anything.
QUESTION: How to make so that when you request For example: WORD WORD everything was?)
слово словоwith one space between them then? - teranLIKE, so that you get thetitle LIKE '%$splittedArray[0]%' OR title LIKE ''%$splittedArray[0]% .....'and insert it into the query - Alexey Shimanskyor 1=1then everything will be - vp_arth