First
You have to change this
echo "<input type=\"hidden\" name=\"".$partnum."\" value=\"".$partnum."\">";
to this
echo "<input type=\"hidden\" name='partnum' value=\"".$partnum."\">";
Since you have one submit button inside of each form, they will submit the form they are inside of. You don't have to worry about submitting the right form. There won't be any other input field submitted which is not inside of that form, you are submitting from
Second
You don't need to echo the partnum inside every select
Change this
echo "<select name=\"Press_used".$partnum."\"style=\"float:right\">";
into this
echo "<select name=\"Press_used\"style=\"float:right\">";
Thirdly, the sql
$sql="INSERT INTO loaded (Cure, Time, Tire, Press)
VALUES ('53',now(),'$_POST[$partnum]','$_POST[Press_used]')";
$sql="INSERT INTO loaded (Cure, Time, Tire, Press)
VALUES ('53',now(),'".$_POST['partnum']."','".$_POST["Press_used"]."')";
I think that's all
Update:
This:
echo "<form action=\"loadpost.php\" name=\"".$row['Part_Number']."\">";
Into this:
echo "<form action=\"loadpost.php\" name=\"".$row['Part_Number']."\" method='POST'>";