ERROR: ROC conductance upload request with empty imput!";
exit;
} else {
$type = $_POST['type'];
$num = $_POST['num'];
$cond = $_POST['cond'];
}
$SQL = "UPDATE roc_test_head_leak SET conductance=".$cond." WHERE roc_type='".$type."' AND roc_serial='".$num."'";
$res = pg_query($SQL) or print "
ERROR - Couldn't execute header update: $SQL";
if(!$res) print "
Following error received from dbase server:".pg_result_error($res);
else print "
Conductance upload was succesful!";
?>