php - Please check whether this SQL query is correct -


i trying update data in row of table specific user id. receiving syntax error. tell me what's wrong in syntax or miss ?

result of 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= weekday activity level below recommended levels looks though improved on weekend. user_id = 2227904 have error in sql syntax; check manual corresponds mysql server version right syntax use near 'weekday activity level below recommended levels looks though th' @ line 10

from above printed sql query, type of tailor_advice field may text or varchar, value must put inside double quotes or single quotes.


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -