Re: Nested page calls

From: Date: Sat, 19 Jul 2003 00:53:28 +0000
Subject: Re: Nested page calls
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155862@lists.php.net to get a copy of this message
Lee Elenbaas <lee@viareality.com> wrote: > I would like to perform nested page calls, where a page does conditional > includes to itself > The problem is how to avoid stepping over the variables not sure why but um.. $current_scope++; if ($condition) { include(__FILE__): } $scoped_vars[$current_scope]['varname'] = 'only for this file'; > > Is there a way to define the page or parts of it as a function and still > have the HTML sections of it editable by an html editor? That means without > using the print command to create the output. depends on the html editor, vi handles my html sections inside my functions pretty well.. Curt. --

« previous php.general (#155862) next »