public static function XoaTaiKhoan($id) { TaiLieu::XoaTaiLieuTheoTaiKhoan($id); $query = "DELETE FROM taikhoan WHERE ID = {$id}"; $r = Query($query); if (mysql_affected_rows() > 0) { return 1; } else { return 0; } }