Re: SigmaTemplate + ITStatic renderer itteration
| From: | Alexey Borzov | Date: | Tue, 08 Jun 2004 14:45:28 +0000 |
| Subject: | Re: SigmaTemplate + ITStatic renderer itteration | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13011@lists.php.net to get a copy of this message | ||
Hi!
Alexey Mirkulove wrote:
for ($ix=1;$ix<12;$ix++){ $tpl->setVariable('im', $ix); $tpl->parse('back2'); } $form->accept($renderer); $tpl->show(); <tr><!-- BEGIN Back2 --><td>{im}<!-- END Back2 --></td></tr> SHOWING ONLY LAST VALUE '11'Block/placeholder names are case-sensitive. Add $tpl->setErrorHandling(PEAR_ERROR_DIE); before that and see what happens...