note 72060 modified in function.mysqli-affected-rows by danbrown
| From: | danbrown@php.net | Date: | Fri, 28 Nov 2008 22:10:07 +0000 |
| Subject: | note 72060 modified in function.mysqli-affected-rows by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147308@lists.php.net to get a copy of this message | ||
Just to clarify about the possible return values in this Manual those not familiar with PHP and
MySQL.
"-1 indicates that the query returned an error."
-1 will be returned if the query itself can not be issued to the server, possibly because of syntax
error AND if the last query was not either an Insert or Update statement.
--was--
Just to clarify about the possible return values in this Manual those not familiar with PHP and
MySQL.
"-1 indicates that the query returned an error."
-1 will be returned if the query itself can not be issued to the server, possibly because of syntax
error AND if the last query was not either an Insert or Update statement.
http://php.net/manual/en/function.mysqli-affected-rows.php