Re: function

From: Date: Sat, 05 May 2012 02:41:20 +0000
Subject: Re: function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-317802@lists.php.net to get a copy of this message
On Thu, May 3, 2012 at 9:12 PM, Ron Piggott <ron.piggott@actsministries.org> wrote: > I need to access a FUNCTION I programmed within a different FUNCTION.  Are these able to be > passed like a variable?  Or are they able to become like a $_SESSION variable in nature?  How am I > able to do this? > > I am essentially programming: > > === > function name( $flag1, $flag2 ) { > > # some PHP > > echo name_of_a_different_function( $flag1 , $flag2 ); > > } > === > > The error I am receiving is “Call to undefined function name_of_a_different_function” Thanks to Jim, I understand a bit more, however, I still do not see where name_of_a_different_function is being defined. Rather than suppose something, please post the function where name_of_a_different_function is defined.

« previous php.general (#317802) next »