#20743 [Asn->Csd]: mysql_error in mysql code examples

From: Date: Mon, 02 Dec 2002 02:40:00 +0000
Subject: #20743 [Asn->Csd]: mysql_error in mysql code examples
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350080@lists.php.net to get a copy of this message
ID: 20743 Updated by: pollita@php.net Reported By: renota@earthgaming.com -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.2.3 Assigned To: pollita New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-12-01 03:04:11] renota@earthgaming.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20743&edit=1

« previous php.doc (#969350080) next »