in reply to Populating options in html select.
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 ?
|
|---|