groovygarden
Programmer
- Aug 23, 2001
- 63
When I submit the form I have created I get the following error:
Can't call method "param" on an undefined value at
path\cgi-bin\timeresults.pl line 3.
refering to the following line:
$q = new CGI
$search_time= $q->param('thetime');
Is it complaining about the value "thetime"? In the form this value is defined like so:
<SELECT NAME ="thetime" SIZE=1>
<OPTION >--Select a time-->
Can anyone tell me what I'm doing wrong. I've used more or less the same code on a form with TEXT input and it works fine. Am very confused and any help would be much appreciated.
Thanks,
Can't call method "param" on an undefined value at
path\cgi-bin\timeresults.pl line 3.
refering to the following line:
$q = new CGI
$search_time= $q->param('thetime');
Is it complaining about the value "thetime"? In the form this value is defined like so:
<SELECT NAME ="thetime" SIZE=1>
<OPTION >--Select a time-->
Can anyone tell me what I'm doing wrong. I've used more or less the same code on a form with TEXT input and it works fine. Am very confused and any help would be much appreciated.
Thanks,