Re: HTML_Select
| From: | Wolfram Kriesing | Date: | Sun, 13 Oct 2002 22:52:04 +0000 |
| Subject: | Re: HTML_Select | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10039@lists.php.net to get a copy of this message | ||
Richard Heyes wrote:
Hi,
Been playing around making some common select dropdown code and came up with
the following
package idea:
function getDropDown($name, $selectedOption = null)
{
sounds useful, +1
an addition i would like to see is a third parameter "$params"
where i can additionally pass other attributes that might be set for the "select"-tag, there are cases where a class, or onChange will simply need to be set
--
Wolfram
... translating template system ...
http://sourceforge.net/projects/simpletpl
... authentication system ....
http://sf.net/projects/auth