On Sun, Mar 23, 2008 at 7:32 AM, Terry Burns-Dyson
<[EMAIL PROTECTED]> wrote:
> I'm trying to write a template system, my template is the HTML layout, and
> my content is fetched from another source. However I don't quite understand
> how to output the template so that all the variables are parse
On Mar 23, 2008, at 12:10 PM, Daniel Brown wrote:
On Sun, Mar 23, 2008 at 6:32 AM, Terry Burns-Dyson
<[EMAIL PROTECTED]> wrote:
[snip!]
$pageTitle is in the template, it's replaced, $pageContent is in the
template, it's replaced. But any variables within the
page_to_display are
simply output i
On Sun, Mar 23, 2008 at 6:32 AM, Terry Burns-Dyson
<[EMAIL PROTECTED]> wrote:
[snip!]
> $pageTitle is in the template, it's replaced, $pageContent is in the
> template, it's replaced. But any variables within the page_to_display are
> simply output into the page rather than processed by PHP. I
I'm trying to write a template system, my template is the HTML layout, and
my content is fetched from another source. However I don't quite understand
how to output the template so that all the variables are parsed by PHP.
Simple version of what I'm trying to do;
ob_start( );
extract( $params
4 matches
Mail list logo