RE: [SMARTY] Re: Forms Validation and Generation w/database
| From: | UpFront Technology | Date: | Sat, 06 Mar 2004 08:26:37 +0000 |
| Subject: | RE: [SMARTY] Re: Forms Validation and Generation w/database | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11070@lists.php.net to get a copy of this message | ||
thanks..could you give an example please?
-----Original Message-----
From: Manuel Lemos [mailto:mlemos@acm.org]
Sent: Friday, March 05, 2004 9:15 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] Re: Forms Validation and Generation w/database
Hello,
On 03/05/2004 07:28 PM, Upfront Technology wrote:
> Can anyone inform me whether Forms Validation and Generation class by M.
> Lemos supports MySQL arrays in the "Options" array?
Sure, if you fetch them.
You may want to try this other class that was meant to integrate
databases with the forms class. It has a function to retrieve arrays for
the form select options as you need. The class was meant to access
databases via Metabase for database independence and so it supports
MySQL, but of course you are free to hack the class to use MySQL native
functions directly:
Class: Database access class
http://www.phpclasses.org/databaseaccess
Class: Database access class
http://www.phpclasses.org/metabase
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php