note 7711 deleted from die by danbeck
| From: | danbeck@php.net | Date: | Thu, 08 Mar 2001 18:00:39 +0000 |
| Subject: | note 7711 deleted from die by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12045@lists.php.net to get a copy of this message | ||
RE: the above suggestion of using a function with a die statement.
at least for PHP 3, the required syntax is something like:
$sql_result = mysql_query ($sql,$connection) or die(on_error());