Location: PHPKode > projects > YASeMI > yasemi_0.1/gs/delete_subnet.php
<?php

	// INCLUDE VARIOUS SCRIPTS
	include 'dbc.php';

	// CONNECT TO THE DATABASE
	$link_id = db_connect();
	
	// SELECT THE STORED NUMBER OF HOSTS
	$query = "DELETE FROM settings WHERE settings_id = ".$_GET['settings_id']."";
	
	// EXECUTES THE QUERY
	$result = mysql_query($query) or die(mysql_error().'<br> SQL:'.$query);
	
	// CLOSE THE DB CONNECTION
	mysql_close($link_id);

	header("Location: ../settings.php");

?>
Return current item: YASeMI