maximo1970
ISP
How do I get the real value and not the arrayref into my menu list from this source data?
my $cur = $dbh->prepare("SELECT Device_Name FROM tbl_admin_systems"
$cur->execute();
my $menu = $cur->fetchall_arrayref();
my $q = CGI->new;
print $q->header;
print $q->start_html(-title=>'Menu');
print $q->popup_menu(-name=>'This is a menu', -values=>$menu);
print $q->end_html;
$cur->finish();
The column contains "SVR1, SVR2, SVR3, SVR4".
Thanks for your help.
Cheers
my $cur = $dbh->prepare("SELECT Device_Name FROM tbl_admin_systems"
$cur->execute();
my $menu = $cur->fetchall_arrayref();
my $q = CGI->new;
print $q->header;
print $q->start_html(-title=>'Menu');
print $q->popup_menu(-name=>'This is a menu', -values=>$menu);
print $q->end_html;
$cur->finish();
The column contains "SVR1, SVR2, SVR3, SVR4".
Thanks for your help.
Cheers