Open the door to see the mountain, everyone look directly.
Exec = "delete * from guestbook where id =" & required.form ("id")
The above sentence completes the operation of deleting records, but the lock record has been recorded for the only representation ID, we have established in front
When the database is used, the system gives us the primary key. The name is the number. Because the name of Chinese is not very convenient, everyone can modify it to ID, if not modified,
Exec = "delete * from guestbook where number =" & required.form ("id")
Below we look at the complete code: A form is passed to an ID file, then this ASP file deletes this ID.