in reply to Populating options in html select.

What the tree of you suggested so far are basically just a bit modified solutions of those that I already wrote.

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 ?


Have you tried freelancing? Check out Scriptlance - I work there.