|
General Clean Up resets the |
Person Table |
Book Table |
Documentation |
||
|
Note - Create, Drop and Clean Up would be
hidden on a real life system. |
|||||
Code Listing : bookInsertForm.php |
<html>
<head>
<title>Insert Using a Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php include "nav.php"; ?>
<h2>Insert New Book</h2>
<form name="form1" method="post" action="bookInsertFormDo.php">
<table border="1" cellpadding="4" cellspacing="0">
<tr>
<td><div align="right">ISBN</div></td>
<td> <input name="isbn" type="text" id="isbn"></td>
</tr>
<tr>
<td><div align="right">Book Title</div></td>
<td> <input name="book_title" type="text" id="book_title"></td>
</tr>
<tr>
<td><div align="right">Author</div></td>
<td><input name="author" type="text" id="author"></td>
</tr>
<tr>
<td><div align="right">Publisher</div></td>
<td><input name="publisher" type="text" id="publisher"></td>
</tr>
<tr>
<td colspan="2"><div align="right">
<input type="submit" name="Submit" value="Submit">
</div></td>
</tr>
</table>
</form>
<?php
include "dump.php";
dump_page(basename($_SERVER[SCRIPT_FILENAME])); // Display the code of this page
?>
</body>
</html>
|