How would I go about getting the name of the function I am currently in?
Example:
function functionName () { echo("I am inside the " . current_function_name() . " function"); }
Anyone know how to do this?
I know that if you were using classes you could use [man]get_parent_class[/man] or the parent keywords.
For parent 'functions' ... I'm not sure how you would go about doing this, or if it's even possible.
http://www.php.net/manual/en/language.constants.predefined.php
The Outlook notification popped up in the corner of my screen, and when I saw the name "Weedpacket" I knew that all your problems would be solved 😉
What would we do without Weed? surpressed chuckle
Thanks. That is what I needed.
Glad you could get your problem resolved. If it is resolved, please don't forge to MARK THIS THREAD RESOLVED using the link at the bottom of the page.