Re: HTML_QuickForm_Controller & DB & Smarty
| From: | Stefan Ohrmann | Date: | Tue, 27 Jul 2004 21:10:01 +0000 |
| Subject: | Re: HTML_QuickForm_Controller & DB & Smarty | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13894@lists.php.net to get a copy of this message | ||
Hello,
Am 27.07.2004 19:33 schrieb Bertrand Mansion:
> Actually, it would be cleaner to deal with everything that is
> template-related in the 'display' action directly.
Of course.
> You can also use "global $db, $tpl;"
But the question was:
>>> How can I build a form without using global variables for the
>>> database and template engines ?
regards
Stefan