bind values and cgi params

2005-01-06 Thread Robert
I have a form that is submitting and the url ending is "?position=BSIPL". My form has "method="get"" in it. I have tried it without a method as well. I have in my CGI: my $pid = $q->param('position'); # which should now hold BSIPL right? My SQL is as so: my $sth = $dbh->prepare(" SELECT p

Re: bind values and cgi params

2005-01-06 Thread Paul Archer
2:48pm, Robert wrote: I have a form that is submitting and the url ending is "?position=BSIPL". My form has "method="get"" in it. I have tried it without a method as well. I have in my CGI: my $pid = $q->param('position'); # which should now hold BSIPL right? My SQL is as so: my $sth = $dbh->prepa

RE: bind values and cgi params

2005-01-06 Thread Graeme St. Clair
You wouldn't by any chance be calling it $pid in one place and $position_id in another? DARFC, GStC. -Original Message- From: Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:49 PM To: beginners-cgi@perl.org Subject: bind values and cgi params I have a form that is s