Re: [Christopherb] search function error
Hi Christopherb,
Without seeing the full PHP source code, I can't say for sure whether this will be a good fix, but here's how to supress that error message:
$search_type = @$_GET['search_type'];
Adding an @ like this is common practice when dealing with keys that might not be set (such as form data.) The result will be that $search_type will be == "".
I hope this helps. Please let me know if you have any questions.
All the best,
Chris