Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Integrating PHP with Databases Filtering Input for Queries Accounting for Empty Results

Can anyone get the search box to work correctly

Hi guys

Just wondering if anyone was able to get the search box to work correctly. When ever I search for a word whether it is "the" or "lord", I keep getting the same message, which is :

Search Results for "go" No items were found matching that search term

I thought it was a problem with my code, so I decided to use the code provided by teamtreehouse but the same thing keeps happening. Has anyone encountered this problem?

Any help would be most welcome

Qasim Hafeez
Qasim Hafeez
12,731 Points

Did you figure it out? Maybe you accidentally set the value of the input text field to "go" in the html.

After fixing all my bugs, I was able to make it work properly. Tip: Download the project and compare your code line by line.