Re: Confirm message box

From: Date: Wed, 27 Nov 2002 10:26:19 +0000
Subject: Re: Confirm message box
Groups: php.general 
Request: Send a blank email to php-general+get-126258@lists.php.net to get a copy of this message
Hi Wilmar, > And when the user hits the Delete link a pop up dialog box (javascript > style) asks for confirmation. Not a big deal. Your PHP script has to generate Links like: <a href="myscript.php?del=xy" onClick="return confirm('really delete?')">delete</a> where xy is the id of your record. The link will be followed after a positive conformation, "myscript.php" can delete the record. Good luck Keith

« previous php.general (#126258) next »