RE: [PHP] Confirm a Deletion
| From: | Jay Blanchard | Date: | Tue, 01 Oct 2002 18:58:18 +0000 |
| Subject: | RE: [PHP] Confirm a Deletion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118406@lists.php.net to get a copy of this message | ||
[snip]
The way the code is written, the record gets deleted immediately upon
clicking the submit button on page one. Is there some way I can keep the
script on page two from executing until after I press the confirmation
button?
[/snip]
One of two ways, an intermediary PHP page that asks "Are you sure?" while
carrying the information forward, or a JavaScript pop-up confirmation dialog
box.
HTH!
Jay