Hi,
I'm having a problem with this search feature. For instance: go to http://www.intriguemedia.net/lewismotors/inventory/searchVehicle.php and do a search on "honda". Instead of just bringing up Honda vehicles, it brings up all the vehicles in the database.
Here's my query statement:
$query_rsVehicles = sprintf("SELECT * FROM vehicles WHERE model LIKE '%s%%' OR vehicles.make LIKE '%s%%' AND vehicles.`year` = '%s' ORDER BY ID ASC", $varModel__rsVehicles,$varMake__rsVehicles,$varYear__rsVehicles);
help would greatly be appreciated.
thnx
Dan
intrigue Media // inspire : imagine : intrigue
http://www.intriguemedia.net