Re: Pear // SQL // Smarty
| From: | Klaus Guenther | Date: | Mon, 11 Oct 2004 19:40:16 +0000 |
| Subject: | Re: Pear // SQL // Smarty | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14852@lists.php.net to get a copy of this message | ||
Sparacio, Sal wrote:
Is there a page out there.. that shows a very simple and clean way to do a SQL Query with QuickForms and outputting it with Smarty? Or at least SQL + QF.Smarty and QuickForm is rather easy. There is a Smarty renderer in Quickform. And there are examples in your /path/to/pear/docs/HTML_Quickform directory. The latest versions can be found here: http://cvs.php.net/co.php/pear/HTML_QuickForm/docs/renderers/SmartyDynamic_example.php http://cvs.php.net/co.php/pear/HTML_QuickForm/docs/renderers/SmartyStatic_example.php As for the SQL deal... that is often application specific. I'd just get the information you need from the DB and build my own form. hth, Klaus