nlopess Tue Jan 27 13:19:09 2004 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-data-seek.xml
Log:
fix #27057
http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-data-seek.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.8
phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.9
--- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.8 Mon Jan 5 08:03:26
2004
+++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Tue Jan 27 13:19:09
2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-data-seek">
<refnamediv>
@@ -25,7 +25,9 @@
<para>
<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.
+ mysql_num_rows - 1. However if the result set is empty (mysql_num_rows ==
+ 0), a seek to 0 will fail with a warning and
+ <function>mysql_data_seek</function> will return &false;.
</para>
<note>
<para>