Forms processing with Smarty
| From: | Davi Leal | Date: | Fri, 10 Feb 2006 12:51:13 +0000 |
| Subject: | Forms processing with Smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13315@lists.php.net to get a copy of this message | ||
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();