$copy['acquired_on'] = $_POST['acquired_on']; $copy['notes'] = $_POST['notes']; $bks->addCopy($copy); } // Get book details into $row //////////////////////////////////////////// if(!isset($_REQUEST['ID'])){ header("Location: book_browse.php"); exit(); } $id = $_REQUEST['ID']; $row = $bks->getBookByID($id); // Get details of copies in to a recordset: $rsCopies ////////////////////////// $rsCopies = $bks->getCopies($row); $NoOfCopies = mysql_num_rows($rsCopies); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>ULMS: Edit Book</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="css/styles.css" rel="stylesheet" type="text/css"> <script language="JavaScript" src="js/gen_validatorv2.js" type="text/javascript"></script> </head> <body onLoad="document.getElementById('BtnCheckBook').focus();"> <?php include("../inc/top.php"); ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr>