Hope this is the right list.
I have a list that is generated from a database and I want to create
this list in a CGI script and have the default selection be determined
by another option from that database.
For example:
possible types of computers is a list
a user has one of those types
I
Perhaps something like this:
while ($row = $sth->fetchrow_array) {
print "$row";
}
untested
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri Jul 05 13:11:41 PDT 2002
Subject: CGI.pm Question
>Hope this is the right list.
>
>I have a list that is generated f
I answered my own question. What works is to have the computers loaded
into an array and then do this:
print $query->popup_menu(-name=>'computer',
-value=>\@list,
-default=>'$default',
);
Thanks for the help.
Stanley G.
Any good ideas for using perl to generate a web site showing what windows
computers on a network are in use (someone's logged on) or free, turned on
or turned off, etc?
Thanks,
Jason
___
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http