|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #20743 mysql_error in mysql code examples
Submitted: 2002-12-01 03:04 UTC Modified: 2002-12-01 20:39 UTC
From: renota at earthgaming dot com Assigned: pollita (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
 [2002-12-01 03:04 UTC] renota at earthgaming dot com
I answer questions on a php help bbs (  
One of the most common problems reported is that the users 
don't know why their database calls are not working.  
Usually they have copied the code right out of the 
examples (e.g. mysql_connect()), which do not utilize 
mysql_error().  I was wondering if these examples could be 
changed to use mysql_error() and thus reduce newbie 
Thank you for your time. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-01 20:39 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 07:03:33 2021 UTC