$insertSQL = sprintf("UPDATE tbl_food SET (start_time=%s,point=%s,working=%s) WHERE userID=%s",
GetSQLValueString(1, "int"),
GetSQLValueString(1, "int"),
GetSQLValueString(1, "int"),
GetSQLValueString(2, "int"));


ciao a tutti.. cosa c'è di male nel codice sopra elencato?? l'errore che mi da è il seguente..


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 '(start_time=1,point=1,working=1) WHERE userID=2' at line 1

grazie