altctrldel
Technical User
- Jul 26, 2003
- 30
Code:
mysql_query("UPDATE tblrepair SET ( mgt_id,rep_status,rep_notes) VALUES('$mgtid','$decision','$comments') WHERE rep_id='$rid'") or die ("Error in registration sql:" . mysql_error());
I always get a 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 '( mgt_id,rep_status,rep_notes) '.
I already checked all my variables and they all have data in them.
thanks