YAZ
PHP Manual

yaz_record

(PHP 4 >= 4.0.1, PECL yaz:0.9-1.0.9)

yaz_record — Returns a record

Description

int yaz_record ( int $id , int $pos , string $type )

Returns record at position or empty string if no record exists at given position.

The yaz_record() function inspects a record in the current result set at the position specified. If no database record exists at the given position an empty string is returned. The argument, type, specifies the form of the returned record. If type is "string" the record is returned in a string representation suitable for printing (for XML and SUTRS). If type is "array" the record is returned as an array representation (for structured records).


YAZ
PHP Manual