D
drood
This allows a user to look for data on 2 different servers.
#########################
print submit(-name=>'choice', -value=>'Check Main Server ');
print "<br>";
print submit(-name=>'choice', -value=>'Check Local Server');
##########################
When I check which button is selected using:
#############################
foreach $name ( param() ) {
$value = param($name);
print "$name = $value<br>";
}
#############################
, I either get:
local = Check Local Server
or
main = Check Main Server
It seems the name of the param, local or main, is self generated. The
word 'main' and 'local' do not appear in the program.
What's the deal?
#########################
print submit(-name=>'choice', -value=>'Check Main Server ');
print "<br>";
print submit(-name=>'choice', -value=>'Check Local Server');
##########################
When I check which button is selected using:
#############################
foreach $name ( param() ) {
$value = param($name);
print "$name = $value<br>";
}
#############################
, I either get:
local = Check Local Server
or
main = Check Main Server
It seems the name of the param, local or main, is self generated. The
word 'main' and 'local' do not appear in the program.
What's the deal?