error handling
| From: | Chenri | Date: | Tue, 15 Mar 2005 08:23:30 +0000 |
| Subject: | error handling | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38907@lists.php.net to get a copy of this message | ||
hello,
how can i use error_log( ) function
to capture the error occured in my server,
currently the Error warning is switched off
and i can't turn it on because it is in production server
the problem is the query miss some records,
and i didn't see it's error message
beside this code
$err=mysql_query($string);
if(!$err) {
error_log();
}
do i can get somekind of global error handling?
Something that can catch an error anywhere
in the codes,
thx
--
Chenri J
Taman Palem Lestari B18 - 19A
Mobile CDMA Esia: (62) (21) 926 68 651
Email: chenrijano@gmail.com