Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > ebb1914cf182a88528b4547490db1dd8 > files > 1112

kdewebdev-quanta-doc-3.5.9-2mdv2008.1.x86_64.rpm

<HTML
><HEAD
><TITLE
>msql_result</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="manual.html"><LINK
REL="UP"
TITLE="mSQL functions"
HREF="ref.msql.html"><LINK
REL="PREVIOUS"
TITLE="msql_regcase"
HREF="function.msql-regcase.html"><LINK
REL="NEXT"
TITLE="msql_select_db"
HREF="function.msql-select-db.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><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-regcase.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.msql-select-db.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.msql-result"
>msql_result</A
></H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN18327"
></A
>msql_result -- Get result data</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN18330"
></A
><H2
>Description</H2
><DIV
CLASS="funcsynopsis"
><P
></P
><CODE
CLASS="FUNCDEF"
>int msql_result</CODE
>(int query_identifier, int i, mixed field);<P
></P
></DIV
><P
>&#13;     Returns the contents of the cell at the row and offset in the
     specified mSQL result set.
    </P
><P
> 
     <B
CLASS="function"
>Msql_result()</B
> returns the contents of one cell
     from a mSQL result set.  The field argument can be the field's
     offset, or the field's name, or the field's table dot field's
     name (fieldname.tablename).  If the column name has been aliased
     ('select foo as bar from ...'), use the alias instead of the
     column name.
    </P
><P
> 
     When working on large result sets, you should consider using one
     of the functions that fetch an entire row (specified below).  As
     these functions return the contents of multiple cells in one
     function call, they're MUCH quicker than
     <B
CLASS="function"
>msql_result()</B
>.  Also, note that specifying a
     numeric offset for the field argument is much quicker than
     specifying a fieldname or tablename.fieldname argument.
    </P
><P
> 
     Recommended high-performance alternatives:
     <A
HREF="function.msql-fetch-row.html"
><B
CLASS="function"
>msql_fetch_row()</B
></A
>,
     <A
HREF="function.msql-fetch-array.html"
><B
CLASS="function"
>msql_fetch_array()</B
></A
>, and
     <A
HREF="function.msql-fetch-object.html"
><B
CLASS="function"
>msql_fetch_object()</B
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.msql-regcase.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="manual.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.msql-select-db.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>msql_regcase</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.msql.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>msql_select_db</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>