Re: [phplib] Template Bug From: Richard Archer (rha <email protected>)
Date: 07/25/01

At 9:14 PM +0100 25/7/01, <lists <email protected>> wrote:

>$tpl->parse("navigate", "nav");
>$tpl->p("nav");

This last line should be:
$tpl->p("navigate");

$tpl->parse performs the substitutions on nav and saves the output
in navigate. You then print navigate.

Alternatively, use
$tpl->pparse("navigate", "nav");

 ...Richard.

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>