php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38730 REPLACE Statement
Submitted: 2006-09-06 07:34 UTC Modified: 2006-09-06 09:28 UTC
From: kills at online dot de Assigned: colder (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2006-09-06 07:34 UTC] kills at online dot de
Description:
------------
mysql_num_rows says:
"To retrieve the number of rows affected by a INSERT, UPDATE, or DELETE query, use mysql_affected_rows().

But mysql_affected_rows also works for REPLACE statements.

same in mysql_affected_rows:
"Get the number of affected rows by the last INSERT, UPDATE or DELETE query associated with link_identifier."

has to be:

"Get the number of affected rows by the last INSERT, UPDATE, REPLACE or DELETE query associated with link_identifier."



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-06 09:28 UTC] colder@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=bd9a1432aa0fae8487619456cd2a86dfbcd638e6
Log: Fix #38730 (Include REPLACE in the description)
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of colder
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ce725f29fac20037452eed8b8c2fcbff1c15b64e
Log: Fix #38730 (Include REPLACE in the description)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Feb 22 16:00:01 2026 UTC