You're missing your pattern matching characters. Without them LIKE
is essentially the same as =
.
Here's an example:
$query = "SELECT * FROM maintable WHERE Category LIKE '%$word%'
OR Title LIKE '%$word%'
OR Title2 LIKE '%$word%'
OR Description LIKE '%$word%'
OR Description2 LIKE '%$word%'
OR Preimushestva LIKE '%$word%'
OR Preimspisok LIKE '%$word%';";