Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confirmation dialog box 1

Status
Not open for further replies.

lupidol

Programmer
Apr 23, 2008
125
IL
Hi everyone,
I have code where a MySQL table's row is deleted.
Before deleting I'd like a user's confirmation whereby dialog box.
Can anyone show me how to do that?
Thanks
 
Not from PHP. PHP has no way of showing dialog boxes.

You would need to do it from Javascript.

Try the confirm() function in Javascript. confirm() Function - Javascript - W3Schools

For more details: forum216



----------------------------------
Phil AKA Vacunita
----------------------------------
OS-ception: Running Linux on a Virtual Machine in Windows which itself is running in a Virtual Machine on Mac OSx.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top