I believe this might be a Conditional Statement, newbie not sure

Author Message
Teresa

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 9/21/2009
  • Location: Tennessee
  • Status: offline
I believe this might be a Conditional Statement, newbie not sure Monday, September 21, 2009 4:15 AM (permalink)
0
I don't know how to write asp code. I use Dreamweaver to write it for me. Big mistake, I know. I have looked at several references for coding in asp, but right now I just need a quick fix and if someone here can help me out I will be so greatful.
 
What I am trying to do is this:
 
I have three pages, a search page, a delete page (which I would like to have an email script that would send me a confimation of the data being deleted), and a success page.
 
The search page searches for the a row in my SQL Server database called URL, this works fine, it pulls up and displays my data on my delete page, like I want it too, but now I am stuck not knowing how to write, I am guessing a conditional statement?
 
I have a button named Delete, when the user clicks the button a javascript confirm delete alert box comes up asking the users if they are sure they want to delete the data.
 
What I would like to happen is when the user clicks the button to approve the deleting of the data, I would like for it to send me an email letting me know the data has been deleted.
 
I have email code already. That isn't my issue, I need to know how to make the onclick react the way I need for it too.
 
Please send sample code, I don't know the first thing about writing the code.
 
Thanks in advance for helping. :~)
 
 
 
 
 
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9