PHP delete confirmation

From: Date: Fri, 29 Apr 2011 04:32:32 +0000
Subject: PHP delete confirmation
Groups: php.general 
Request: Send a blank email to php-general+get-312559@lists.php.net to get a copy of this message
I have been trying to figure out how to add delete confirmation for the bellow snippet of code. I would prefer not to use javascript. Can anyone offer any advise on how to right the delete confirmation in PHP? Thank you in advance. P.S. I apologize for the indention. For some reason gmail messes it up. <?php // loop through results of database query, displaying them in the table while($row = mysql_fetch_array( $result )) { // echo out the contents of each row into a table echo "<tr>"; echo '<td>' . $row['Name'] . '</td>'; echo '<td>' . $row['Date'] . '</td>'; echo '<td>' . $row['StoreInfo'] . '</td>'; echo '<td>' . $row['Address'] . '</td>'; echo '<td>' . $row['Type'] . '</td>'; echo '<td>' . $row['EngTech'] . '</td>'; echo '<td>' . $row['StoreManager'] . '</td>'; echo '<td>' . $row['BBtime'] . '</td>'; echo '<td>' . $row['BBup'] . '</td>'; echo '<td>' . $row['BBdown'] . '</td>'; echo '<td>' . $row['SiteSect'] . '</td>'; echo '<td>' . $row['VoiceCall'] . '</td>'; echo '<td>' . $row['Comments'] . '</td>'; echo '<td><a href="edit.php?id=' . $row['id'] .'">Edit</a></td>'; echo '<td><a href="delete.php?id=' . $row['id'] .'">Delete</a></td>'; echo "</tr>"; } // close table> echo "</table>"; ?>

« previous php.general (#312559) next »