gayu_justin has asked for the wisdom of the Perl Monks concerning the following question:
And i got the following url : http://stagingbugzilla.cpiv.com/html/centralbugzilla/output.cgi?team_id=57&fromdate=2012-05-21&todate=2012-05-30 And in my script, i used the following method to retrieve the value from url,<form name = "employee" method = "post" action = "output.cgi?team_id=[ +% team_id %]&fromdate=[% fromdate %]&todate=[% todate %]"> <tr> <td> <!-- <p><font color="red"> Available Groups</fo +nt> </p> --> <select name = "employee" id = "emp"> <option value = ''> select </option> [% FOREACH employee_list IN employee %] <option value="[% employee_list %]"> [ +% employee_list %] </option> [% END %] </select> </td> <td> <input type = "submit" value = "Submit"/> </td> </tr> </form>
But i am not getting the values in my script.please help me to solve this.use CGI; my $team_id=CGI::param("team_id"); my $fromdate = CGI::param("fromdate"); my $todate = CGI::param("todate");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem in retreving value from url
by Corion (Patriarch) on Sep 03, 2013 at 12:26 UTC | |
by gayu_justin (Novice) on Sep 03, 2013 at 13:34 UTC | |
by Corion (Patriarch) on Sep 03, 2013 at 13:36 UTC | |
by poj (Abbot) on Sep 03, 2013 at 15:11 UTC |