$blahas = dbquery("UPDATE ".$db_prefix."users SET user_groups='grupe' WHERE user_id='".$userdata['user_id']."'"); if($blahas) { echo "Priskirtas"; }