Revision: 18300
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 27, 2009 19:17 by daveismyname
Initial Code
$id = mysql_real_escape_string($_GET['id']; $sql = mysql_query("DELETE FROM table WHERE id = '$id'"); header('Location: ' . $_SERVER['HTTP_REFERER']); exit;
Initial URL
Initial Description
Delete row from a database bases on a given id
Initial Title
snippet to delete a row from a mysql database
Initial Tags
Initial Language
PHP