note 7711 added to die
| From: | tmayse at heliologic dot com | Date: | Sat, 12 Aug 2000 08:12:54 +0000 |
| Subject: | note 7711 added to die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1428@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());
http://www.php.net/manual/function.die.php