PHP Manual
Prev |  | Next

# yaz_range

(PHP 4 >= 4.0.1)

yaz_range -- Specifies the maximum number of records to retrieve

## Description

int yaz_range ( resource id, int start, int number)

This function should be called before either yaz_search() or yaz_present() to specify a range of records to be retrieved. The `start` specifies position of first record to be retrieved and `number` is the number records. Records in a result set are numbered 1, 2, ... $hits where $hits is the count returned by yaz_hits().

Returns `TRUE` on success; `FALSE` on error.

Prev | Home | Next
yaz_present | Up | yaz_record