On 2011-11-13 1:42 AM, Tommy Pham wrote: >> or db_error ($dbh, $__FILE__, $__LINE__); > > __FILE__ are reserved keywords __LINE__. If you intended to use > variables represent the similar meaning, the suggested approach would Yes, sorry, was a bit quick there - I'm using __FILE__ __LINE__ to indicate the file/line where the query failed to the error-handling function. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php