php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #8526 mysql_affected_rows doesn't mention -1 return value
Submitted: 2001-01-02 19:43 UTC Modified: 2001-01-22 20:28 UTC
From: cardinal at dodds dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.4 OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 - 8 = ?
Subscribe to this entry?

 
 [2001-01-02 19:43 UTC] cardinal at dodds dot net
It'd probably be helpful to mention that mysql_affected_rows will return -1 if there was an error in the query that preceeded it.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-22 20:28 UTC] jimw@php.net
added.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 23:01:29 2024 UTC