Currently I have a form and when the user clicks on submit, I want the data to go to the database and an email sent. This part is easy--here is the fine print. The email program can not use SMTP, CDO, etc. and nothing can be installed on the server. This left an email cgi program. Yet can the submit button send data to the database, and execute the cgi button? Now to throw in another twist, that data has to be sent to the database first, and a unique number assigned to it so that the email can contain the unique number. Let me know how you would solve this, my email is Thanks!!