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@xxxxxxxxx -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php