From 578017c37a91ad182e67e4d0cc1c9f28a5694f23 Mon Sep 17 00:00:00 2001
From: Georg Richter <georg@php.net>
Date: Sun, 21 Apr 2002 13:17:52 +0000
Subject: [PATCH] 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
---
 reference/mysql/functions/mysql-data-seek.xml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/reference/mysql/functions/mysql-data-seek.xml b/reference/mysql/functions/mysql-data-seek.xml
index e506d7e322..55c91ba179 100644
--- a/reference/mysql/functions/mysql-data-seek.xml
+++ b/reference/mysql/functions/mysql-data-seek.xml
@@ -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>