I would feel much nicer to make a module that would do it for me (and everyone else). I guess that it would just implement that function, and reuse everything from HTML::FillInForm or similar (HTML::Defaultify) by inheritance. Or be included in it ...
Speaking of letting all to be done by the module, wouldn't it be nice to just give it a name of table (fields : id = option value; text = option text) possibly a DBH and let all to be done for you ?
In reply to Re: Populating options in html select.
by techcode
in thread Populating options in html select.
by techcode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |