1 <?php // php pages made with phpMyBuilder <http://kyber.dk/phpMyBuilder> ?>
4 // Murray Jensen <Murray.Jensen@cmst.csiro.au>
5 // CSIRO Manufacturing Science and Technology, Preston Lab
7 // dodelete page (hymod_bddb / boards)
11 pg_head("$bddb_label - Delete Log Entry Results");
13 if (!($serno=intval($serno)))
14 die("the board serial number was not specified");
16 if (!isset($logno) || $logno == 0)
17 die("the log entry number not specified!");
19 mysql_query("delete from log where serno=$serno and logno=$logno");
22 $errstr = mysql_error();
23 echo "\t<font size=+4>\n";
25 echo "\t\t\tThe following error was encountered:\n";
27 echo "\t\t<center>\n";
28 printf("\t\t\t<b>%s</b>\n", $errstr);
29 echo "\t\t</center>\n";
33 echo "\t<font size=+2>\n";
35 echo "\t\t\tThe log entry with log number <b>$logno</b>\n";
36 echo "\t\t\tand serial number <b>$serno</b> ";
37 echo "was successfully deleted\n";
46 <a href="brlog.php?serno=<?php echo "$serno"; ?>">Back to Log</a>
49 <a href="index.php">Back to Start</a>