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 'pines golf course-id-7547395,1498170151)' at line 1
INSERT INTO dailyvisits (position,job_id,date) VALUES ('assistant superintendent',city-payette-comp-scotch pines golf course-id-7547395,1498170151)