I'm having problems doing a multi table update. Any idea why this wouldn't work?
UPDATE userfield,user SET userfield.field7='Yes' WHERE user.userid=userfield.userid and user.usergroupid=5
getting this error:
You have an error in your SQL syntax near ' user set userfield.field7='Yes' where user.userid=userfield.userid and user.use' at line 1
Almost looks like it isn't recognizing the second table. I'm using PHP 4.2.2
Apparently, this is the only way I can do this because MySQL doesn't support JOINS on update queries... any help would be appreciated.
Thanks!