note 26533 deleted from ref.mysql by didou
| From: | didou@php.net | Date: | Sat, 17 May 2003 17:43:25 +0000 |
| Subject: | note 26533 deleted from ref.mysql by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48195@lists.php.net to get a copy of this message | ||
Note Submitter: phplist@gremlins.com.hk
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.