Search feature working!

Finally got the search feature working, a lightbulb went off in my head
when I noticed a call to the incorrect variable source from the previous
page.

Now I need to get it to prevent sql_injection and add some security to
the users variables.