RE: html forms in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx]
Sent: Thursday, September 15, 2005 11:14 AM
To: php-general@xxxxxxxxxxxxx
Subject:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux