Log in

View Full Version : Query needed to del all cusotm avatars from one usergroup id :)


corsacrazy
04-11-2004, 10:04 PM
as title says pls , i need to run a query to drop all custom avatars from one usergroup id, cheers

Velocd
04-12-2004, 02:45 AM
DELETE FROM `customavatar` LEFT JOIN `user` USING (userid) WHERE user.usergroupid=$usergroupid

This should work, but it's untested, so try it first on a dummy table.