NYCPHP Meetup

NYPHP.org

[nycphp-talk] Smarty Templates

David Mintz dmintz at davidmintz.org
Wed Nov 2 15:59:15 EST 2005


On Wed, 2 Nov 2005, billy reisinger wrote:

> Here's what the php for this block would look
> like:
>
> if ($form.lastname.error) {
> $template->setCurrentBlock("FORM_ERROR");
> $template->setVariable("FORM_ERROR_MESSAGE", $form.lastname.error);
> $template->parseCurrentBlock();
> }
> $template->setVariable("FORM_LASTNAME_HTML", $form.lastname.html);

With those dots? What PHP version is that (-:


---
David Mintz
http://davidmintz.org/



More information about the talk mailing list