for some reason the code did copy - here it is;<form action="add_staff_record.php" method="post">
Do you want to add this staff to the staff record table?<br>
Yes<input type="radio" value="yes" name="add"><br>
No <input type="radio" value="no" name="nonadd"><br>
Staff ID: <input type="text" name="id" size="10">
<input type="submit" name="stage">
</form>
<?php
extract($HTTP_POST_VARS);
mysql_connect('localhost');
mysql_select_db('employee');
mysql_query("INSERT INTO staffrecord(ID,due_in,reqrmnt)SELECT profile.ID AS ID,requirements.duein AS duein,requirements.requirement AS requirement FROM profile INNER JOIN requirements ON profile.position=requirements.position WHERE ID ='$id'") or die ("Error: ".mysql_error());
print("$id");
?>