Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $title = "Acme Repair - Inventory";
- $header = "Acme Repair";
- include_once 'View/header.html.php';
- require_once 'Model/DBAdapter.php';
- require_once 'Model/DBFunctions.php';
- $inventory_table = new DBTable(
- $Conn = $dbConnection, $table = 'inventory', $primaryKey = 'type'
- );
- $typeID = $inventory_table->getIDs('type');
- $items = array (
- 'inventory_ID' => ' ',
- 'description' => ' ',
- 'in_stock' => ' ',
- 'cost' => ' '
- );
- if (isset($_POST['ItemType'])) {
- $items = $inventory_table->selectByPkey($_POST['ItemType']);
- }
- include_once 'View/inventory.html.php';
- include_once 'View/footer.html.php';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement