I am trying to update the data in a row of a table which by specific user ID. But I am receiving syntax error. Could anyone tell me what's the wrong in the syntax or I miss something ?
Result of an echo statement --->
UPDATE activitymeter SET totaltimes = 4, tna_wd = 1, tnm_wd = 10, tna_we = 10, tnm_we = 10, mvpa_wd = 2, mvpa_we = 5, week_diff = -3, tailor_advice= Your weekday activity level is below the recommended levels but it looks as though this is improved on a weekend. WHERE user_id = 2227904 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 'weekday activity level is below the recommended levels but it looks as though th' at line 10