You are here: RE: [PHP] html forms in php « PHP « IT news, forums, messages
RE: [PHP] html forms in php

Posted by "bruce" on 09/15/05 21:30

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация