Re: problem calling functions

From: Date: Fri, 19 Oct 2007 18:37:23 +0000
Subject: Re: problem calling functions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263412@lists.php.net to get a copy of this message
afan pasalic wrote:
why then the code doesn't work? the error I'm getting is: "Fatal error: Call to undefined function solution1() in ..." even the function itself is just above the line that calls function?
I can only guess that you're not showing us the code you're actually running. See the example I put in another reply - that works and is based on the code you sent. -Stut -- http://stut.net/ > Stut wrote: >> Jay Blanchard wrote: >>> I don't think you can put a function name in a variable and call it like >>> $function($var). >> Yes you can - it's basically the same as variable variables. >> >> -Stut >>

« previous php.general (#263412) next »