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. :~)