I wrote my own error handler function in a script, which will print out a message when an error happens instead of bombing my script.
I wrote a function that I call myErrorHandler(....). Then I do $oldErrorHandler = set_error_handler("myErrorHandler");
If I have a bad date in $row['DATE_IN'], then the line:
$dateIn = strtotime( $row['DATE_IN']);
will call my error function, but I do not know how to get the value of $row[DATE_IN] to be printed out. Is there a way to pass $row[DATE_IN] to the function?
Is this possible?
Thanks in advance...