Error in query
INSERT INTO gm_visits SET visits=1,galid='1741',day='22',month='4',year='2018'