<?
	if ($send == null) {
?>
	<form method="post" action="<? echo $PHP_SELF ?>">
	Ẻź<br>
	سҡ͡ʾѡҹͧź<br>
	ʾѡҹ <input type="text" name="id_val"><br>
	<input type="submit" name="send" value="Submit">
     	<input type="reset" name="cancel" value="Reset">
	</form>
<?
}
else 
{
	$link = mysql_connect("localhost", "root", "1234");
	$sql = "use testdb";
	$result = mysql_query($sql);
	$sql = "Delete From testtable where id = '$id_val' ";
	$result = mysql_query($sql);
	if ($result)
	{
		echo "ź㹰ҹŻʺ<br>";
		mysql_close($link);
	}
	else
	{
		echo "öź㹰ҹ<br>";
	}
		echo "<a href=delete.php>Ѻ˹Ҩ͡ź</a><br>";
		echo "<a href=Mainfunction.html>Ѻ˹Ҩѡ</a><br>";
}
?>