At 19:57 Uhr +0200 27.7.2000, Jacob Davies wrote:
><SELECT NAME="country">
><OPTION VALUE="uk" <#COUNTRY SELECTEDIF="uk"> > The Mother Country
><OPTION VALUE="us" <#COUNTRY SELECTEDIF="us"> > Some Other Country
></SELECT>

In my system I would do
  $htmltemplate­>fill_select("country",
$dbi_statementhandle->fetchall_arrayref)
to substitute the templated list with values from a database table and
  $htmltemplate->switch_select("country","uk")
to make 'uk' selected.

christian.


Reply via email to