Re: Function passed as argument to function

From: Date: Sat, 30 Nov 2002 20:14:19 +0000
Subject: Re: Function passed as argument to function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126572@lists.php.net to get a copy of this message
On Sunday 01 December 2002 03:54, Jeffrey B.Ferland wrote: > std_layout("Title here", list_writings(poetry)) > > both std_layout and list_writings are user-defined functions. std_layout() > echo's the two arguments that it takes at select points in its execution. I > want to the output of list_writings() to be an argument for std_layout(). Hmm, what's the problem then? Functions take any valid expressions as arguments. If list_writings() returns a valid expression then you should have no problems at all. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Play Rogue, visit exotic locations, meet strange creatures and kill them. */

« previous php.general (#126572) next »