ok...
Don't rip me a new a$$, but I would like some direction...
I have the following that I need to work. I am used to having this type stuff in an html document and not a .cgi script. Can you point me in the direction to do this.
#!/usr/bin/perl
use CGI qw(:standard -debug);
print "Content-type: text/html\n\n";
print "<html><b><h2>Page Under Construction</h2></b>\n";
print "<b><h3>To add another product please complete the following for
+m:</h3></b>\n";
print "<BODY></FORM>\n";
print "Product Name (i.e. Shaving Cream): <input type=text name=pname
+size=40 maxlength=80><p>\n";
print "Unit of Issue (i.e. ea, gal, pkg): <input type=text name=unit s
+ize=5 maxlength=5><p>\n";
print "Quantity to Add: <input type=text name=qty size=7><p>\n";
print "Cost per unit: <input type=text name=cost size=10><p>\n";
print "<input type=hidden name=action value=a>\n";
print "<input type=submit value=Add Product> <input type=reset value=R
+eset Form>\n";
print "<HTML><FONT SIZE=3>\n";
print "<A HREF='http://carrotcake.nsm.tridenttech.edu/dbhome.html'>\n"
+;
print "Return to Selection Page";
print "</HTML></FONT>\n";
print "</BODY></FORM>\n";
|