Zen Follower
- Join Date:
- Oct 2007
- Posts:
- 241
- Plugin Contributions:
- 0
Advanced Search - Additional Keyword Form Blanks & Handling
I want to have additional blanks on the advanced search form.
I tried creating new fields, and setting each (additional) field name to ‘keyword'. This ends up creating a string (as part of the URL that is generated) with more than one &keyword= field.
BUT---
Only the LAST keyword is considered when the search is executed; anything preceding it is ignored.
Further, if the second blank is left blank, but the first has user entered data, it will return an error message (as I included the same value="" for the second blank if left as default.)
Obviously, this isn't working.
What about setting each blank field with a different name?
How can the search engine be modified so that it accepts the other fields as additional
search keywords that are searched as "AND" with each other blank field?
//&keyword=die+hard&categories_id=10&inc_subcat=1&manufacturers_id=4&pfrom=1&pto=5 0&dfrom=01%2F01%2F2003&dto=12%2F20%2F2005
What file decodes this and performs an SQL inquiry with the results?
How does the header_php.php file associated with the advanced search page work? What does it do?