note 26533 added to ref.mysql

From: Date: Sun, 03 Nov 2002 20:19:31 +0000
Subject: note 26533 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-38928@lists.php.net to get a copy of this message
Can the example be modified so that instead of simply using die('Query failed') it uses: die('Query failed: ' . mysql_error()); This will save newbies a lot of grief. -- http://www.php.net/manual/en/ref.mysql.php http://master.php.net/manage/user-notes.php?action=edit+26533 http://master.php.net/manage/user-notes.php?action=delete+26533 http://master.php.net/manage/user-notes.php?action=reject+26533

« previous php.notes (#38928) next »