userid != $user->id) { xml_error(-136); } $venue = process_user_text(get_str("venue")); $result = $host->update("venue='$venue'"); if ($result) { echo " "; } else { xml_error(-1, "database error"); } ?>