Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    $template->param( LOCATION_DATA => \@location_data);
    
    print "Content-Type: text/html\n\n", $template->output;
    
  2. or download this
          IP:
          <select name="network" id="network">
    ...
             <TMPL_LOOP NAME="LOCATION_DATA">
                <option value="<TMPL_VAR NAME=LOC_ID>"><TMPL_VAR NAME=LOC_
    +VALUE></option> <br>
            </TMPL_LOOP>
    
  3. or download this
    while (my $ref = $sth->fetchrow_hashref()) {
            my %row_data;
    ...
            $row2_data{LOC_VALUE} = $ref2->{'value'};
            push(@location_data, \%row2_data);
        }