Maggy 2nd Question of the Day

Results 1 to 2 of 2

Thread: Maggy 2nd Question of the Day

  1. #1
    Join Date
    Dec 1969

    Default Maggy 2nd Question of the Day

    I have the form called "save.asp" and onclick of the submit button of save.asp, I want the data entered to be saved in the database, but I need the same data with the structure of the save.asp to be send in an html mail to me (Which means if I had a label "Name:", then the user entered "Maggy" in the input box, it must display Name: Maggy on the email I am sending) and at the same time save info into the database. OOPS! I wonder if this is possible

  2. #2
    Join Date
    Dec 1969

    Default RE: Maggy 2nd Question of the Day

    Just loop through the items on the form:<BR>[test.asp]<BR>&#060;%<BR>For Each FormItem in Request.Form<BR> Response.write FormItem & "=" & Request(FormItem)<BR>Next<BR>%&#062;<BR>&#060;form action=test.asp method=post&#062;<BR>&#060;input name=Username&#062;<BR>&#060;input type=submit&#062;<BR>&#060;/form&#062;<BR><BR>Create a string with the users responses using the above, then send a mail using CDONTs, add record to db..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts