I MADE ONE CHANGE TO THE FOLLOWING CODE:
<?PHP $i=1; $count=$row["COUNT(oil)"];
do { echo ("<td>" .$row["oil"]. " <input type=hidden name=NAOH" .$i." value=". $row["NAOH"]."><input type=hidden name=INS".$i." value=".$row["INS"]."></td><td><input type=text name=amt".$i." value='".${(amt.$i)}."' size=5></td>\n");
if ($i % 3 == 0 ) {echo ("</tr><tr>");}
$i++;
$count++;
} while ($row=mysql_fetch_array($get_oils));
?>
I ADDED THIS:
<input name=oil".$i." type=hidden value=\"".$row["oil"]."\">
THE SCRIPT NOW READS THIS:
<?PHP $i=1; $count=$row["COUNT(oil)"];
do { echo ("<td>" .$row["oil"]. " <input name=oil".$i." type=hidden value=\"".$row["oil"]."\"><input type=hidden name=NAOH" .$i." value=". $row["NAOH"]."><input type=hidden name=INS".$i." value=".$row["INS"]."></td><td><input type=text name=amt".$i." value='".${(amt.$i)}."' size=5></td>\n");
if ($i % 3 == 0 ) {echo ("</tr><tr>");}
$i++;
$count++;
} while ($row=mysql_fetch_array($get_oils));
?>
The page my script is on is http://recipes.herbalsoapsbyrj.com/calculators/lye-calc1.php
When I click the Calculate button, it doesn't submit now. It DID submit before adding this line.
What did I do wrong here?
Thanks,