k here the code to get the users_list #--in case ur running from windows version of apache --- #!C:\perl\bin\perl.exe #-- if ur in linux versions -- #!/usr/bin/perl #using CGI standard module use CGI qw(:standard) ; #$cgi is a reference for CGI module my $cgi = new CGI; #this is a header which sends to the browser that the #content will be text/html print header(); #now ur copying the selected contents into an array my @select = $cgi->param('users_list'); #displaying them on the page in one line print @select; # or u can display like this in dirrent lines for ($i=0; $i <= $#select; $i++) { print $select[$i], "<br>"; }
In reply to Re: how to get multiple options selected in webpage
by opensourcer
in thread how to get multiple options selected in webpage
by kamesh3183
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |