Its been a while since I've used VB, but if I'm remembering correctly an input box creates a small dialog box that gives a user a choice. In this case confirm a deletion.
Unfortunately PHP can't do that being a server side language it can't really interact with the client that way.
You can do a couple things to simulate it though.
1. You can have an intermediate page that asks for confirmation using two submit buttons. One would redirect back to the page with no deletion and the other would direct to the processing script to perform the deletion.
2. A simpler method is to use use Javascript. Specifically the confirm() function.
Which works essentially like an input box in VB.
Try this out:
Code:
<input type="submit" name="process" value="Delete" [red]onClick="return confirm('Are you sure you want to delete this record?');"[/red]>
If you click on O.K. the form is submitted to the PHP script for deletion.
If you click cancel the form remains.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.