RE: [PHP] html forms in php
| From: | bruce | Date: | Thu, 15 Sep 2005 18:30:35 +0000 |
| Subject: | RE: [PHP] html forms in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222487@lists.php.net to get a copy of this message | ||
philippe,
you can accomplish this by using a piece of javascript that fires off an
alert, asking the user 'yes/no'. if the user selected yes, the app would do
a submit to the page that would then take care of the mysql/db
interaction...
search on google for 'php onsubmit alert' etc...
-bruce
-----Original Message-----
From: Philippe Reynolds [mailto:phil_ren@hotmail.com]
Sent: Thursday, September 15, 2005 11:14 AM
To: php-general@lists.php.net
Subject: [PHP] html forms in php
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot of information from
my MySQL database.
I would like to create a bit of security, in case the user hits the button
by accident.
I would like to create an additionnal window that would appear that would
ask:
"Are you sure?" and then a "yes" and "no" buttons to confirm the
deletion or
to cancel the command.
Any thougts??
Thanks for the assistance
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php