I have the following line of code.
UPDATE account
SET BlockMessage='$BlockMessage', SET BlockAdmin='$AdminUsername', Status=2
WHERE ID='$ID'
As you can see in trying to set a "BlockMessage, BlockAdmin and Status" in 1 single query. The Infomation is correctly displayed if I echo the 3 individual Variables. however, when running the SQL String it only updates the Block Message row.
Any Ideas?
SETmay only be used once in anUPDATEstatement.