Lee Elenbaas <[EMAIL PROTECTED]> 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.
-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to