if ($modifyavatar) { $action = "avatar"; } else { $action = "modify"; } if ($modifysignature) { $action = "signature"; } else { $action = "modify"; } }