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

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

	// CONNECT TO THE DATABASE
	$link_id = db_connect();
	
	// INSERT THE SUBNET INTO THE DB
	$query = "UPDATE settings SET settings_graph_intrv = ".$_POST["minutes"]."
				WHERE settings_id = 1
				";

	$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