1 <%= include('/elements/header.html', 'Customer Search' ) %>
3 <FORM ACTION="cust_main.cgi" METHOD="GET">
5 Search for <B>Order taker</B>:
6 <INPUT TYPE="hidden" NAME="otaker_on" VALUE="TRUE">
8 <% my $sth = dbh->prepare("SELECT DISTINCT otaker FROM cust_main")
10 $sth->execute() or die $sth->errstr;
11 #my @otakers = map { $_->[0] } @{$sth->fetchall_arrayref};
13 <SELECT NAME="otaker">
14 <% my $otaker; while ( $otaker = $sth->fetchrow_arrayref ) { %>
15 <OPTION><%= $otaker->[0] %>
19 <P><INPUT TYPE="submit" VALUE="Search">
23 <%= include('/elements/footer.html') %>