[PHP] PHP confirmation window

2002-11-30 Thread Lars Espelid
Hello, Working in php, the problem is how to create a window with some optional text in it and get true or false in return. A confirmation window. Example in javascript: function formSubmit() { window.event.returnValue = false; if (confirm(Er du sikker på at du vil slette boenheten?))

Re: [PHP] PHP confirmation window

2002-11-30 Thread Jason Sheets
If you are wanting to do it on the client side you will need to do it in javascript, not in PHP. If you just want to make a confirmation screen in PHP you just present an intermediate screen between the requested action and completing that action. An example would be: 1. Administrator clicks