[SMARTY] Forms processing with Smarty
Davi Leal <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have developed a custom template 'engine' to our website. Now, I want to migrate to the Smarty engine. I have read some documentation at your website, however I do not yet know how could I deal with forms processing with smarty. Below you can see an example. Using my custom template, I have to phases: First: Process all forms Second & Last: Displaying the output result Could you point me in the right way to convert the below example to Smarty?. Any advice?. Maybe an URI to read?. Regards, Davi -- require_once "WebPage.php"; require_once "Person_form.php"; $personForm = new PersonForm(); $webPage = new WebPage($personForm); $webPage->processPage(); $webPage->printPage();