?>
	// CSIRO Manufacturing Science and Technology, Preston Lab
	// dodelete page (hymod_bddb / boards)
	require("defs.php");
	pg_head("$bddb_label - Delete Log Entry Results");
	if (!isset($_REQUEST['serno']))
		die("the board serial number was not specified");
	$serno=intval($_REQUEST['serno']);
	if (!isset($_REQUEST['logno']) || $_REQUEST['logno'] == 0)
		die("the log entry number not specified!");
	$logno=$_REQUEST['logno'];
	mysql_query("delete from log where serno=$serno and logno=$logno");
	if(mysql_errno()) {
		$errstr = mysql_error();
		echo "\t\n";
		echo "\t\t \n";
		echo "\t\t\tThe following error was encountered:\n";
		echo "\t\t
\n"; echo "\t\t\tThe log entry with log number $logno\n"; echo "\t\t\tand serial number $serno "; echo "was successfully deleted\n"; echo "\t\t
\n"; echo "\t\n"; } ?>
| ">Back to Log | Back to Start |