I am confused. I keep getting the error statement that $hirdate, $firstname, $lastname are undefined variables. I have read where the globals will be off by default but how do I then pass these values from the form to the handler? I have read the manual and done the search for info on how to pass these but my confusion lies in how I script the php handler page to take those values. What would I need to script and include in the script? I have php4.2.0-win 32. I have register globals=on. I am using ISAPI on Windows 98 with PWS and following is my script;
<head>
<title>submit</title>
</head>
<body>
<?php
mysql_connect('localhost');
mysql_select_db('employee');
$hiredate=$hiredate3 . "-" . $hiredate1 . "-" . $hiredate2;
mysql_query('INSERT INTO profile VALUES("$lastname","$firstname","$agency","$status","$middleI","$hiredate","$position","$hs","$col","$coldegree","$colmajor","$licenses","$work_years","$ddwork_years","$prevmodules","$email","$snailmail")');
echo $firstname . " " . $lastname;
print ("Thank you for submitting the information. If you did not submitt an email address your identificaiton number will arrive in the mail. If you submitted an email address your number will arrive momentarily.");
?>
</body>