Re: PHP/Mysql error handling

From: Date: Tue, 06 Nov 2001 11:52:00 +0000
Subject: Re: PHP/Mysql error handling
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73586@lists.php.net to get a copy of this message
yea sure for example mysql_select_db("databasename" [, link_identifier]) or { make a mail statement here with a mysql_error() and other stuff you want in and I usually use die on error so after mailing die("Couldn't select database, stopped parsing"); } regards On Sunday 04 November 2001 11:47, George E. Papadakis stuffed this into my mailbox: > Hi, > > Is there any way to make php notify me of any errors through email? > I know it may sounds funny, but imagine having this huge site and u just > want it to run smoothly but u juct cant check it all the time . If there > was a way that php would notify u for a an error on a specific page/line > that would make debuggin much easier and without guessing.. > So, is it possible? > > Thanks. > > -- phaistonian

« previous php.general (#73586) next »