From b5ce30b0952d761c7a8f3e51be194fc743daa4ab Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 27 Jan 2004 18:19:09 +0000 Subject: [PATCH] fix #27057 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@149913 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-data-seek.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/mysql/functions/mysql-data-seek.xml b/reference/mysql/functions/mysql-data-seek.xml index 1ddc807664..c38016a528 100644 --- a/reference/mysql/functions/mysql-data-seek.xml +++ b/reference/mysql/functions/mysql-data-seek.xml @@ -1,5 +1,5 @@ - + @@ -25,7 +25,9 @@ Row_number starts at 0. The row_number 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 + mysql_data_seek will return &false;.