   #PHP Manual YAZ functions yaz_range yaz_scan_result

   PHP Manual
   Prev  Next
   ______________________________________________________________________

                                  yaz_record

   (PHP 4 >= 4.0.1)
   yaz_record -- Returns a record

Description

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

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

   The yaz_record() function inspects a record in the current result set
   at the position specified by parameter pos. If no database record
   exists at the given position an empty string is returned. The 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). If type is "raw" the record is returned in its original raw
   form.

   Records in a result set are numbered 1, 2, ... $hits where $hits is
   the count returned by yaz_hits().
   ______________________________________________________________________

   Prev      Home            Next
   yaz_range  Up  yaz_scan_result
