note 41552 deleted from function.die by nlopess
| From: | nlopess@php.net | Date: | Wed, 14 Apr 2004 14:43:37 +0000 |
| Subject: | note 41552 deleted from function.die by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68122@lists.php.net to get a copy of this message | ||
Note Submitter: chatwithbea@bluewin.ch
----
Exit and die are the exact same functions.
Sometimes it's just more fun to say die, rather than exit.
I am writing this because it's caused me annoyance before. (don't ask me how).
Oh and if you did not know, you can do this to get debuging info from an SQL command
<?
$my_sexy_query = mysql_query("SELECT * FROM table")
or die(Mysql_error());
?>
Yeah, good luck.