Added a note: mysql_data_seek works only in conjunction with mysql_query, not with mysql_unbuffered_query

Added see also section


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79292 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Georg Richter 2002-04-21 13:17:52 +00:00
parent f032c17f89
commit 578017c37a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-data-seek">
<refnamediv>
@ -23,8 +23,17 @@
to <function>mysql_fetch_row</function> would return that row.
</para>
<para>
<parameter>Row_number</parameter> starts at 0.
<parameter>Row_number</parameter> starts at 0 The <parameter>
row_number</parameter> should be a value in the range from 0 to
mysql_num_rows - 1.
</para>
<note>
<para>
The function <function>mysql_data_seek</function> can be used in
conjunction only with <function>mysql_query</function>, not with
<function>mysql_unbuffered_query</function>.
</para>
</note>
<example>
<title>MySQL data seek example</title>
<programlisting role="php">
@ -58,6 +67,10 @@
]]>
</programlisting>
</example>
<para>
See also: <function>mysql_query</function>,
<function>mysql_num_rows</function>.
</para>
</refsect1>
</refentry>