# db-mysql my $template = HTML::Template->new(filename => 'test.html'); my $data = $sth->fetchall_arrayref({ id => 1, art => 1, ort => 1 } ); $template->param( ABFRAGE => $data ); print $template->output(); # also wenn im column art "TERMIN" dann