View source on how to create input fields based on the fields in the database table.
Note: If you click on "Add Record" a new page will open. On the new page you may look at the source on how to add a record to a database table.