To mod an existing PHP file, to add a search category to the PHPmotion script (http://demo.phpmotiontemplates.com/default/), I was told to do this:
"Capture the category $GET and $POST values. Look through the top of search.php file, and you can see how the keyword is retrieved and stored in a variable-
you can do the same for your category".
So, I tried adding NEWCATEGORY1 and CATEGORY2, as you can see attached (search.php), but
I'm not clear on the instructions, really. Any additional guidance will be appreciated.
Also, was told to:
"Add a conditional clause to the mysql queries in search.php if the category is set".
Any help will be welcomed.
Search.txt