Sophie

Sophie

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

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

<HTML
><HEAD
><TITLE
>msql_list_fields</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="mSQL functions"
HREF="ref.msql.html"><LINK
REL="PREVIOUS"
TITLE="msql_list_dbs"
HREF="function.msql-list-dbs.html"><LINK
REL="NEXT"
TITLE="msql_list_tables"
HREF="function.msql-list-tables.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.msql-list-dbs.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.msql-list-tables.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.msql-list-fields"
></A
>msql_list_fields</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN57680"
></A
><P
>    (PHP 3, PHP 4 )</P
>msql_list_fields&nbsp;--&nbsp;List result fields</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN57683"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>msql_list_fields</B
> ( string database, string tablename)<BR
></BR
><P
>&#13;     <B
CLASS="function"
>msql_list_fields()</B
> retrieves information about
     the given tablename. Arguments are the database name and the
     table name. A result pointer is returned which can be used with
     <A
HREF="function.msql-fieldflags.html"
><B
CLASS="function"
>msql_fieldflags()</B
></A
>,
     <A
HREF="function.msql-fieldlen.html"
><B
CLASS="function"
>msql_fieldlen()</B
></A
>,
     <A
HREF="function.msql-fieldname.html"
><B
CLASS="function"
>msql_fieldname()</B
></A
>, and
     <A
HREF="function.msql-fieldtype.html"
><B
CLASS="function"
>msql_fieldtype()</B
></A
>.  A query identifier is a
     positive integer. The function returns <TT
CLASS="literal"
>-1</TT
> if a
     error occurs. A string describing the error will be placed in
     <TT
CLASS="literal"
>$phperrmsg</TT
>, and unless the function was called
     as <TT
CLASS="literal"
>@msql_list_fields()</TT
> then this error string
     will also be printed out.
    </P
><P
>&#13;     See also <A
HREF="function.msql-error.html"
><B
CLASS="function"
>msql_error()</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.msql-list-dbs.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.msql-list-tables.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>msql_list_dbs</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.msql.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>msql_list_tables</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>