From 9b35c54ee65672351fe061d73575e60518681866 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Tue, 23 Jan 2001 01:26:21 +0000 Subject: [PATCH] not return of mysql_affected_row when query had failed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40009 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/mysql.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/mysql.xml b/functions/mysql.xml index 47c37bc30e..0f3281282c 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -61,6 +61,9 @@ statements which modify records. To retrieve the number of rows returned from a SELECT, use mysql_num_rows. + + If the last query failed, this function will return -1. +