Error in query
INSERT INTO gm_visits SET visits=1,galid='1659',day='21',month='1',year='2018'