Addressed to: "Richard Lynch" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Fri, 16 Feb 2001 17:21:03
-0600
>
> Do you get the line number and filename of the script that *called* the
> query function, or is it always the query func
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Thu, 15 Feb 2001 19:54:55
-0600
> Does die() give you a line number? If not, just put it in there.
No, die() does not add to your message.
Here is how
function christians_error_handler($errno, $error, $file, $line, $context){
$full_debug = 1; #set to 0 for less output.
echo "Error $errno: $error\n";
echo "In: $file, line number $line\n";
if ($full_debug){
print_r($context);
}
exit;
}
set_error_handler('christians
3 matches
Mail list logo