Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 2903

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>yaz_record</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="YAZ functions"
HREF="ref.yaz.html"><LINK
REL="PREVIOUS"
TITLE="yaz_range"
HREF="function.yaz-range.html"><LINK
REL="NEXT"
TITLE="yaz_scan_result"
HREF="function.yaz-scan-result.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.yaz-range.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.yaz-scan-result.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.yaz-record"
></A
>yaz_record</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN97833"
></A
><P
>    (PHP 4 &#62;= 4.0.1)</P
>yaz_record&nbsp;--&nbsp;Returns a record</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN97836"
></A
><H2
>Description</H2
>string <B
CLASS="methodname"
>yaz_record</B
> ( resource id, int pos, string type)<BR
></BR
><P
>&#13;     Returns record at position <TT
CLASS="parameter"
><I
>pos</I
></TT
> or empty
     string if no record exists at given position.
    </P
><P
>&#13;     The <B
CLASS="function"
>yaz_record()</B
> 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 <TT
CLASS="parameter"
><I
>type</I
></TT
> specifies the form of
     the returned record.
    </P
><P
>&#13;     If type is <TT
CLASS="literal"
>"string"</TT
> the record is
     returned in a string representation suitable for printing
     (for XML and SUTRS).
     If <TT
CLASS="parameter"
><I
>type</I
></TT
> is <TT
CLASS="literal"
>"array"</TT
>
     the record is returned as an array representation (for structured
     records).
     If <TT
CLASS="parameter"
><I
>type</I
></TT
> is <TT
CLASS="literal"
>"raw"</TT
> the
     record is returned in its original raw form.
    </P
><P
>&#13;     Records in a result set are numbered 1, 2, ... $hits where
     $hits is the count returned by <A
HREF="function.yaz-hits.html"
><B
CLASS="function"
>yaz_hits()</B
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.yaz-range.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.yaz-scan-result.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>yaz_range</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.yaz.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>yaz_scan_result</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>