Help for this page

Select Code to Download


  1. or download this
    <select name=city_id>
     <TMPL_LOOP cities>
    ...
        <TMPL_VAR city_name>
     </TMPL_LOOP>
    </select>
    
  2. or download this
    <select name=city_id>
     <TMPL_LOOP cities>
       <option value="<TMPL_VAR id>"><TMPL_VAR city_name>
     </TMPL_LOOP>
    </select>
    
  3. or download this
    sub _getBuilderList {
      my $self = shift;
    ...
    
      return $cities;
    }
    
  4. or download this
    my $city_list= $self->_getBuilderList;
    
    ...
      scalarref  => \$template->output,
      fobject    => $self->query,
    );
    
  5. or download this
    $self->query->param( city_id => $some_value );
    
    # HTML::FillInForm code as before
    
  6. or download this
    sub _getBuilderList {
      my $self = shift;
    ...
                                                                          
    +          
      return;
    }