introduction to web programming Exercise Three Okay, let's try to use perl to print out an HTML form! Here is the form you will try to output...


Here is the code...

print "Content-type: text/html\n\n";
print qq!
  <TITLE>Testing Form Input</TITLE>
  <FORM METHOD = "POST" ACTION = "fp.cgi">
  <TABLE BORDER = "1">
  <TH>First Name</TH>
  <TD><INPUT TYPE = "text"
                NAME = "f_name"></TD>

  <TH>Last Name</TH>
  <TD><INPUT TYPE = "text"
                NAME = "l_name"></TD>

  <TD><INPUT TYPE = "text"
                NAME = "email"></TD>


Previous | Next | Table of Contents