Help for this page

Select Code to Download


  1. or download this
        my @loop_data = ();
        while ( my @rw = $sth->fetchrow_array ) {
    ...
        }
        $template->param( VIEW_DATA => \@loop_data );
        print $template->output();
    
  2. or download this
       <TMPL_LOOP NAME=VIEW_DATA>
          ID: <TMPL_VAR NAME=ID> <br>
          USERNAME:  <TMPL_VAR NAME=USERNAME> <br>
          TIME: <TMPL_VAR NAME=TIME> <br>
       </TMPL_LOOP>