<?php include "../../myDatabase4.php"; $ro = new database4(); $ro->inventory_list("medicine"); $inventoryCode = $ro->inventory_list_inventoryCode(); $generic = $ro->inventory_list_genericName(); $brand = $ro->inventory_list_description(); $qty = $ro->inventory_list_qty(); $stockCardNo = $ro->inventory_list_stockCardNo(); $unitcost = $ro->inventory_list_unitcost(); $ipdPrice = $ro->inventory_list_ipdPrice(); $opdPrice = $ro->inventory_list_opdPrice(); $dateAdded = $ro->inventory_list_dateAdded(); $countInventoryCode = count($inventoryCode); $genericNo = count($generic); $brandNo = count($brand); $qtyNo = count($qty); $countStockCard = count($stockCardNo); $unitcostNo = count($unitcost); $ipdPriceNo = count($ipdPrice); $opdPriceNo = count($opdPrice); $dateAddedNo = count($dateAdded); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Inventory</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/bootstrap-3.3.6/css/bootstrap.min.css">