This page allows the user to add a new record to the database.

Go to the Add New page.

Notice that the example page looks just like the Edit Details page, except:

There is no address id
The text fields are empty.

View the source for the Add New page.  Look for the hidden field in the form.  The AddressID is stored here so that it can be passed to the Update Details page.  The value is set to 0.  This is so that the Update Details page will know to do an insert query instead of an update query.

You will want to make sure that any form field names match the field names in the table of the database.  This will make coding and maintenance much easier.