Thomas  Jaske wrote:
> Which template can I use to do this simply?
>
> $template = new Template();
> $template->assign(content_item, placeholder);
> $page = template($template_file);
> $page->print();

With PHPlib-Templates, it would look like this:

$template = new Template("./path/to/template/files");
$template->set_file("anyname",$filename);
$template->set_var("placeholder","content");
$template->pparse("anyname");

Wagner

-- 
Three may keep a secret, if two of them are dead.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to