|Come for the quick hacks, stay for the epiphanies.|
CGI Post queryby ant (Scribe)
|on Jul 05, 2006 at 08:05 UTC||Need Help??|
ant has asked for the wisdom of the Perl Monks concerning the following question:
Its been a while.
Here's a snippet of my code
The output is 'could not execute query '
howvever, when I replace print header with print "Content-type: text/html","\r\n\r\n"; it all works fine. It seems with print header the STDIN cannot read the HTML form. Below this code, the HTML is formed with the form tag and method = 'post'.
Any ideas why this way worked would be great.