Ryan: there are some simple ways for doing this.. the first way is a JavaScript (client side) solution and the second a serverside php solution. JavaScript will not work for every browser so its not the best solution..
In php the code will look like this:
<?php
switch ($action) {
case "delete" :
echo "sure you want to delete $id ??"
echo "<a href='$PHP_SELF?action=dodel&id=$id'>Yeah baby!</a>";
break;
case "dodel" :
mysql_query("delete from ");
break;
default :
echo "hmz you need a action var";
break
}
?>
call the script in the browser:
http://localhost/mydel.php?action=delete&id=23
Good luck
GR>Jordy Querner
www.querner.com