\n"); } else if ($errormessage) { // We are processing data submitted from the form, but there // was an error in the data. Print the error message. print("\n"); print("WELCOME! We would (if we really existed) like to\n"); print("add you to our Email Service for Information Technology Jobs\n"); print("(if there were such a thing). You can receive directed\n"); print("email from BIG COMPANIES who are interested in hiring people just\n"); print("like you!! Just fill out this form to subscribe to our FREE\n"); print("service!!! (And please, don't imagine that we are doing this just\n"); print("to get your email address so that we stuff your email account with\n"); print("junk mail.)
\n"); print("
$errormessage
"); } if ( !$firstVisit && !$errormessage ) { // Form was correctly submitted. // Just print all the data from the form. print("The following data has been entered in our database:
\n"); print("\n"); print(" Name: $firstname $lastname\n"); print(" Email: $email\n"); print(" Job Location: $location \n"); print(" Job Types: "); if (isSet($network)) print("Network Administration "); if (isSet($system)) print("System Administration "); if (isSet($programming)) print("Programming "); if (isSet($sales)) print("Sales "); print("\n"); print("\n"); if (trim($comment)) { print("
You included the following comments:
\n"); print(""); } } else { // Print the form, including any data that was already submitted. // Since this is so long, switch to HTML mode. ?>$comment