Re: My First PHP Class
Posted: Wed Jul 30, 2008 2:19 pm
It is better not to just die, but generate an error page that helps the user resolve the problem.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
What about throwing exceptions?pytrin wrote:Using the die() command to handle errors is a very bad practice. It leaves no room for error handling