Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 4857

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>sybase_fetch_field</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="Sybase Functions"
HREF="ref.sybase.html"><LINK
REL="PREVIOUS"
TITLE="sybase_fetch_assoc"
HREF="function.sybase-fetch-assoc.html"><LINK
REL="NEXT"
TITLE="sybase_fetch_object"
HREF="function.sybase-fetch-object.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></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 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.sybase-fetch-assoc.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.sybase-fetch-object.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.sybase-fetch-field"
></A
>sybase_fetch_field</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN232833"
></A
><P
>    (PHP 3, PHP 4, PHP 5)</P
>sybase_fetch_field&nbsp;--&nbsp;Get field information from a result</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN232836"
></A
><H2
>Description</H2
>object <B
CLASS="methodname"
>sybase_fetch_field</B
> ( resource result [, int field_offset] )<BR
></BR
><P
>&#13;   Returns an object containing field information.  
  </P
><P
>&#13;   <B
CLASS="function"
>sybase_fetch_field()</B
> can be used in order to
   obtain information about fields in a certain query result.  If
   the field offset isn't specified, the next field that wasn't yet
   retrieved by <B
CLASS="function"
>sybase_fetch_field()</B
> is retrieved.
  </P
><P
>&#13;   The properties of the object are:
  </P
><P
></P
><UL
><LI
><P
>&#13;     name - column name.  if the column is a result of a function, this
     property is set to computed#N, where #N is a serial number.
    </P
></LI
><LI
><P
>&#13;     column_source - the table from which the column was taken
    </P
></LI
><LI
><P
>&#13;     max_length - maximum length of the column
    </P
></LI
><LI
><P
>&#13;     numeric - 1 if the column is numeric
    </P
></LI
><LI
><P
>&#13;     type - datatype of the column
    </P
></LI
></UL
><P
>&#13;   See also <A
HREF="function.sybase-field-seek.html"
><B
CLASS="function"
>sybase_field_seek()</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.sybase-fetch-assoc.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.sybase-fetch-object.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>sybase_fetch_assoc</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.sybase.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>sybase_fetch_object</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>