cvs: phpdoc /en/reference/mysql/functions mysql-data-seek.xml

From: Date: Sun, 21 Apr 2002 13:17:52 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-data-seek.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344667@lists.php.net to get a copy of this message
georg Sun Apr 21 09:17:52 2002 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-data-seek.xml Log: Added a note: mysql_data_seek works only in conjunction with mysql_query, not with mysql_unbuffered_query Added see also section Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.2 phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.3 --- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.2 Wed Apr 17 02:41:05 2002 +++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Sun Apr 21 09:17:52 2002 @@ -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>

« previous php.doc (#969344667) next »