Hi
I am also trying to amend the search function. I am working on a site that sells tyres. Tyres have certain characteristics that are used when searching for the tyres for your vehicle:
Width
Profile
Wheel Size
Load Index
Speed Rating
I have created a new table PRODUCTS_TYRES with products_id as the key and then products_width, products_profile, products_wheel_size, products_load_index, products_speed_rating as fields within the table.
I do not want to search on any of the traditional search variables as these are not required.
I believe that I have created the correct result array and that the array is sorted alphabetically. I have created the SELECT, FROM and WHERE strings.
However when I try the page, using just the width search term (I will add the code for the other fields once I know that is working correctly) I get an error message that "At least one of the fields in the search form must be entered".
Here is the page:
http://www.tyrexchange.co.uk/index.p...dvanced_search
Has anybody got any ideas that may help me as I have been scratching my head on this for two days now?
Thanks in advance
Mike
Bookmarks