when I try eg: perl test.pl john 12 It works.
And the variables are bnided properly in cgi script. I cheked to make sure.
Can anyone suggest how i should proceed.
Thanks in advance
Deepblues
n't open connection: ".$DBI::errstr."\n";
}
my $count=$dbh->selectrow_array("SELECT COUNT(*)FROM TableName");
$dbh->disconnect;
print "Content-type: text/html\n\n";
print <http://www.w3.org/TR/html4/stric.dtd";>
RESULT PAGE
Thank you for filling out my form !
The course details are :
name : $name
Number: $number
No of rows : $count
WEB_PAGE
exit;
Thank you,
Deepblues