Ah ha ... confirm delete.

From: Date: Wed, 25 Sep 2002 04:44:01 +0000
Subject: Ah ha ... confirm delete.
Groups: php.general 
Request: Send a blank email to php-general+get-117511@lists.php.net to get a copy of this message
confirm() returns a true or fulse. what is confirm called as a veriable? <?php if ($confirm == "true") { $sql = "DELETE FROM stompers WHERE sUser='$sUser' AND sEmail='$sEmail' LIMIT 1"; $sql_result = mysql_query($sql, $connection) or die ("Could not get Query"); } else if ($confirm == "false") { } ?> --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ info@philipnz.com Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. Family Site: Philip J. Newman Internet Developer http://www.newman.net.nz/ info@newman.net.nz ***************************** Friends are like Stars, You can't always see them, But you know they are there. *****************************

« previous php.general (#117511) next »