php.net |  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
Hello, 
I answer questions on a php help bbs (www.phpworld.com).  
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 
confusion. 
Thank you for your time. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-01 20:39 UTC] pollita@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC