or-die option - Opinions please...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux