hello Bearwithme
put
and call by global_var
then you put <%global_var%> at the place where the select field have to been
BY hoefti
<- German dbmansql User ->
linktobuy Web Directory
Ratgeber Recht
put
Code:
sub { my $tags = shift; my $table = $DB->table('Database_name'); my $sth = $table->select (['column']); my $output = '<select name=select_name multiple>'; while (my $row = $sth->fetchrow_hashref) { $output .= '<option value='.$row->{column}.'></option>'; } $output .= '</select>'; return $output; }and call by global_var
then you put <%global_var%> at the place where the select field have to been
BY hoefti
<- German dbmansql User ->
linktobuy Web Directory
Ratgeber Recht