Pull Request (Dev_1.1)

Project Course
maybe you can declare `$query= "SELECT * FROM thread where ";` 
before your `if-else statement`, so that when the conditions are met, you can just append the other conditions for your query easily.
i.e. `$query .= $like_clause;`