There are a lot of instances where you may need to add new records to your database. For example, it is always a good idea to have your website contact form be recorded in your database for future reference.
To do this, you first need to create a database called MyData. Then create a table called tblContact with these fields:
ID - autonumber
Email - text field
FirstName - text field
LastName - text field
Comments - memo field
DateContacted - date/time field
Next, create a form page called form.asp and copy the below code into your page:
No comments:
Post a Comment