Re: Best Delete Confirmation Script
| From: | Dennis Moore | Date: | Thu, 27 Jun 2002 17:06:49 +0000 |
| Subject: | Re: Best Delete Confirmation Script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104187@lists.php.net to get a copy of this message | ||
It really depends on how complex your site/application is... I really like
using a popup window with some Javascript that refreshes the parent/opener
page upon updating or executing the PHP. It then closes the popup window.
If the user says no, it just closes the window. This gives the use a more
of an application feel rather than a website look. Just my opinion...
/dkm
----- Original Message -----
From: "Shane" <shane@delaplaine.com>
To: <php-general@lists.php.net>
Sent: Thursday, June 27, 2002 12:48 PM
Subject: [PHP] Best Delete Confirmation Script
> Greetings.
>
> I would like your opinions on the best way to implement an "Are You Sure
You Want To Do This?" dialog for an Admin user when they go to delete a
record in a DB.
>
> Do you find that a whole page is usually required for this, or does anyone
have any nice pop up solutions for such a query.
>
> Sure... I hate doing these things too, but when Joe Big Boss gets a bit
trigger happy and kills some data he mistakenly thought was a different
record. You KNOW who is going to hear about it from on high. :^)
>
> Thanks gang!
> - NorthBayShane
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>