in reply to Populating HTML form fields from database (was: PERL and HTML)
You might want to take a look at DBIx::CGI.