Why does this crash MySQL?

There's a PHP script that pulls information from a MySQL database (posts from a forum), with one of the features being it can pull out and display posts based on a specified search string:
t.topic_title LIKE \'%host%\' OR t.topic_title LIKE \'%hosting%\'
This search string crashes the MySQL database. The author believes it's because there aren't any parentheses around the search query. I really want to use this script, but want to make sure I have the search string syntax right before I try so I don't kill the database.

 

 

 

 

Top