A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and year=2014' at line 1

SELECT intersection_id as `Intersection ID`,Longitude,Latitude,first_street as `Major Street`,second_street as `Minor Street`,intersection_type as `Intersection Type`,leg_type as `Leg Type`,date as `Traffic DataCollection Date`,intersection_volume as `Intersection Traffic Volumes`,city as City,state as State,year as Year FROM data_intersection WHERE client_id= and year=2014;

Filename: controllers/Datacollections.php

Line Number: 3717