<HTML><form action="script.php" method="post"/><p>Input Name: <input type="text" name="name"</p> //name already exists in the table<p>Input Code: <input type="text" name="code"</p> //need to add this value to a field called code only for that name<input type="submit" value="Submit" /></form></HTML>

Thank you very much for taking time to reply. I highly appreciate it. Please do correct me if I am wrong. The code submitted by you above also adds name into the table, right? I actually have a long table with other information in various fields. The CODE field had to be left blank at the time due to stupid office reasons. Now that people are submitting the code, I needed it to be inserted into a pre-existing table with other info.

If my sentence construction was improper above, what I mean is, I think the code, very kindly, given by you will add additional rows of data, and not post in the rows of existing data with the code field left blank, or will they detect the name already being present and add it to the code field of existing rows of names?