Error in query
INSERT INTO gm_visits SET visits=1,galid='513',day='15',month='10',year='2018'