georg Fri Jan 30 17:51:43 2004 EDT
Added files:
/phpdoc/en/reference/mysqli/functions mysqli-multi-query.xml
mysqli-stmt-data-seek.xml
Log:
added docu for stmt->data_seek and mysql->multi_query
http://cvs.php.net/co.php/phpdoc/en/reference/mysqli/functions/mysqli-multi-query.xml?r=1.1&p=1
Index: phpdoc/en/reference/mysqli/functions/mysqli-multi-query.xml
+++ phpdoc/en/reference/mysqli/functions/mysqli-multi-query.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.mysqli-multi-query">
<refnamediv>
<refname>mysqli_multi_query</refname>
<refname>mysqli->multi_query</refname>
<refpurpose>Performs a query on the database</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_multi_query</methodname>
<methodparam><type>object</type><parameter>link</parameter></methodparam>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type>
<methodname>multi_query</methodname>
<methodparam><type>string</type><parameter>query</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
The <function>mysqli_multi_query</function> executes one or multiple queries
which are concatenated by a semicolon.
</para>
<para>
To retrieve the resultset from the first query you can use
<function>mysqli_use_result</function> or
<function>mysqli_store_result</function>.
All subsequent query results can be processed using
<function>mysqli_more_results</function> and
<function>mysqli_next_result</function>.
</para>
</refsect1>
<refsect1>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>See also</title>
<para>
<function>mysqli_use_result</function>,
<function>mysqli_store_result</function>,
<function>mysqli_next_result</function>,
<function>mysqli_more_results</function>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/phpdoc/en/reference/mysqli/functions/mysqli-stmt-data-seek.xml?r=1.1&p=1
Index: phpdoc/en/reference/mysqli/functions/mysqli-stmt-data-seek.xml
+++ phpdoc/en/reference/mysqli/functions/mysqli-stmt-data-seek.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.mysqli-data-seek">
<refnamediv>
<refname>mysqli_stmt_data_seek</refname>
<refname>stmt->data_seek</refname>
<refpurpose>Seeks to an arbitray row in statement result set</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>Procedural style:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_stmt_data_seek</methodname>
<methodparam><type>object</type><parameter>statement</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>Object oriented style (method):</para>
<classsynopsis>
<ooclass><classname>stmt</classname></ooclass>
<methodsynopsis>
<type>bool</type>
<methodname>data_seek</methodname>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
The <function>mysqli_stmt_data_seek</function> function seeks to an arbitrary
result pointer
specified by the <parameter>offset</parameter> in the statement result set
represented by
<parameter>statement</parameter>. The <parameter>offset</parameter> parameter
must be between
zero and the total number of rows minus one
(0..<function>mysqli_stmt_num_rows</function> - 1).
</para>
</refsect1>
<refsect1>
<title>Return values</title>
<para>
&return.success;
</para>
</refsect1>
<refsect1>
<title>See also</title>
<para>
<function>mysqli_prepare</function>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->