Sep 7, 2000, 8:44 AM
Post #2 of 2
Just a few minor details missing. I have cut and pasted your code here and commented the changes.
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>
print "Content-type: text/html\n\n";
$q = new CGI; # Added this line
$thenames = $q->param('thename'); # got the variable for use from the CGI environment.
# In print statment:
# Added method to form Tag
<form action="learnform2.pl" name="learnit" method=POST>
what is your name?
<input type="text" name="thename" value="$thenames">
[This message has been edited by fashimpaur (edited 09-07-2000).]