From: Georgi Ivanov [mailto:joro@xxxxxxxxxxxxxxx] > Thank you for the replay. > I know i can pass __LINE to $db->error(). > This is not the idea. I want $db->error() to print the line > on which it was > executed . > $parent::__LINE__ > Who is the $parent here ? There isn't, necessarily. That was pseudo-code to demonstrate what I thought you were asking about. The point of my reply was "I don't think it's possible to do what you want to do here," and offer up an alternative in passing __LINE__ as an argument to error(). Good luck! -- Mike Johnson Smarter Living, Inc. Web Developer www.smartertravel.com mike@xxxxxxxxxxxxxxxxx (617) 886-5539 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php