user_delete($user)) { echo "success"; } else { echo "error"; } } else { echo "error"; } ?>