My query:
UDPATE message_recipients SET
recipient_status = 2 WHERE mid = 3 AND
recipient_id = 4
Table fields:
id, mid, recipient_status, recipient_id
Error:
1064 – 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 ‘UDPATE message_recipients SET
recipient_status = 2 WHERE mid = 3 AND
recipient_i’ at line 1
Could someone give me any advice?
You need
UPDATEinstead ofUDPATE. I do this myself at least three times a week 🙂