As a general rule, you can’t combine a javascript confirm prompt with your php code because one is server side and the other is client side. Here’s a work-around that will get you a basic confirm prompt if, for example, you’ve done a database inquiry and you want the user to confirm an update before