Location: PHPKode > projects > TLD Manager > tldmgr/domain_delete.php
<?

include("include/config.php"); 
mysql_connect($db_host,$db_user,$db_pass);
@mysql_select_db($db_name) or die( "Unable to select database \"$db_name @ $db_host\"");

if ((!$domain) || (!$TLD)) { header("Location: domain_pick.php"); }	

$result = mysql_query("DELETE FROM domain WHERE name='$domain' AND TLD='$TLD'");

mysql_close();
header("Location: domain_pick.php");
?>
Return current item: TLD Manager