Re: HTML_Template_IT

From: Date: Tue, 15 Jun 2004 09:35:27 +0000
Subject: Re: HTML_Template_IT
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13153@lists.php.net to get a copy of this message
Hi Bertrand, I think you are wrong :) (this is a periodically reminder: answer the question in preference to point to another package :-D ). Hello Julie, Do not use preg solves your problem: <?php require_once 'HTML/Template/IT.php'; it = new HTML_Template_IT('./', array('use_preg'=>false)); $template = 'Total:{total}';$it->setTemplate($template); $it->setVariable('total', '$100,000'); $it->show(); ?> preg are used by default (BC). --Pierre

« previous php.pear.general (#13153) next »