Gostaria de saber como eu faço para um sistema de busca procurar por palavra e não letras?
Meu código atual:
$result = mysql_query("SELECT ID, nome, ingredienteprincipal, chefbarman, comentario, fotodestaque, data FROM gastroreceitas WHERE nome LIKE '%$string%' OR tipo LIKE '%$string%' OR ingredienteprincipal LIKE '%$string%' OR tempodepreparo LIKE '%$string%' OR dificuldade LIKE '%$string%' OR chefbarman LIKE '%$string%' OR estabelecimento LIKE '%$string%' OR comentario LIKE '%$string%' OR ingredientes LIKE '%$string%' OR preparo LIKE '%$string%' ORDER BY nome ASC");
Mas este dá resultado por letras.