or-die option - Opinions please...
| From: | gustav at varupiraten dot se | Date: | Mon, 03 Jan 2005 09:07:14 +0000 |
| Subject: | or-die option - Opinions please... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205496@lists.php.net to get a copy of this message | ||
Hi there all!
I'm thinking of the "or die" suffix (or option or whatever it is called)...
I can use or die together with opening a db.
open_mysqldb("bla.bla.") or die("couldn't connect to db");
But this is just useful when developing?
I don't want my users to see that a specific table can't be opened?
Or do I want that? What's your opinion?
/G
@varupiraten.se