Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 1939

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>mssql_result</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Microsoft SQL Server Functions"
HREF="ref.mssql.html"><LINK
REL="PREVIOUS"
TITLE="mssql_query"
HREF="function.mssql-query.html"><LINK
REL="NEXT"
TITLE="mssql_rows_affected"
HREF="function.mssql-rows-affected.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></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"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.mssql-query.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.mssql-rows-affected.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.mssql-result"
></A
>mssql_result</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN60448"
></A
><P
>    (PHP 3, PHP 4 , PHP 5)</P
>mssql_result&nbsp;--&nbsp;Get result data</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN60451"
></A
><H2
>Description</H2
>string <B
CLASS="methodname"
>mssql_result</B
> ( resource result, int row, mixed field)<BR
></BR
><P
>&#13;     <B
CLASS="function"
>mssql_result()</B
> returns the contents of one
     cell from a MS SQL result set.  The field argument can be the
     field's offset, the field's name or the field's table dot
     field's name (tablename.fieldname).  If the column name has been
     aliased ('select foo as bar from...'), it uses the alias instead of
     the column name.
    </P
><P
>&#13;     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"
>mssql_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
>&#13;     Recommended high-performance alternatives:
     <A
HREF="function.mssql-fetch-row.html"
><B
CLASS="function"
>mssql_fetch_row()</B
></A
>,
     <A
HREF="function.mssql-fetch-array.html"
><B
CLASS="function"
>mssql_fetch_array()</B
></A
>, and
     <A
HREF="function.mssql-fetch-object.html"
><B
CLASS="function"
>mssql_fetch_object()</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.mssql-query.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.mssql-rows-affected.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>mssql_query</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.mssql.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>mssql_rows_affected</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>