?> // CSIRO Manufacturing Science and Technology, Preston Lab // edit page (hymod_bddb / boards) require("defs.php"); pg_head("$bddb_label - New Log Entry"); if (!isset($_REQUEST['serno']) || $_REQUEST['serno'] == '') die("serial number not specified or invalid!"); $serno=intval($_REQUEST['serno']); if (isset($_REQUEST['logno'])) { $logno=$_REQUEST['logno']; die("log number must not be specified when adding! ($logno)"); } ?>