Hi,
For some reason I can't get a param that I'm passing in the URL to work, and its driving me nuts.
I have a "cgi-bin/test.cgi?selection=R33" URL that I am trying to get to work.
When I manually define $selection = "R33"; it works fine. When I try to pass R33 as a parameter on the URL (as above)it gives me an error which I can't figure out.
#my $selection="R33";
my $query = CGI->new();
my $selection = $query->param('selection');
I know its going to be something simple that I haven't figured out yet as this is my first attempt.
Any advice would be super though.
Thanks in advance,
Anthony
For some reason I can't get a param that I'm passing in the URL to work, and its driving me nuts.
I have a "cgi-bin/test.cgi?selection=R33" URL that I am trying to get to work.
When I manually define $selection = "R33"; it works fine. When I try to pass R33 as a parameter on the URL (as above)it gives me an error which I can't figure out.
#my $selection="R33";
my $query = CGI->new();
my $selection = $query->param('selection');
I know its going to be something simple that I haven't figured out yet as this is my first attempt.
Any advice would be super though.
Thanks in advance,
Anthony