From 28f866a95f35a52ee205845a656441dd7cf38bdd Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sun, 21 Apr 2002 13:24:56 +0000 Subject: [PATCH] Added a note (mysql_unbuffered_query) Added see also to mysql_data_seek git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79299 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-num-rows.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/reference/mysql/functions/mysql-num-rows.xml b/reference/mysql/functions/mysql-num-rows.xml index 59d7d04e38..85fc2da2db 100644 --- a/reference/mysql/functions/mysql-num-rows.xml +++ b/reference/mysql/functions/mysql-num-rows.xml @@ -1,5 +1,5 @@ - + @@ -36,10 +36,19 @@ echo "$num_rows Rows\n"; + + + If you use mysql_unbuffered_query, + mysql_num_rows will not return the + correct value until all the rows in the result set have been + retrieved. + + See also: mysql_affected_rows, mysql_connect, + mysql_data_seek, mysql_select_db, and mysql_query.