InventoryTrack/BackendServer/index.php
2022-11-02 22:16:03 -04:00

31 lines
991 B
PHP

<?php
print '<!-- GETTING TRACKERPHP -->';
require_once('/var/www/bin/inventorytrackconnector.php');
print '<!-- MAKING NEW DB -->';
$database_instance = new Database();
print '<!-- DONE SETUP -->';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Inventory Track</title>
<meta http-equiv="Content-Type" content="charset=utf-8" >
<meta name="description" content="Inventory Tracking Software" >
<meta name="author" content="Noah Backus" >
<!-- <link href='resume.css' rel='stylesheet' type='text/css' media='screen'/>
<link href='print.css' rel='stylesheet' type='text/css' media='print'/>
<link rel="icon" type="image/svg+xml" href="favicon.svg"> -->
</head>
<body id="resume">
<p>
<?php print '<!-- RUNNING DB -->'; print $database_instance->test_con()[0]['name']; print '<!-- RUN IS DONE -->';?>
</p>
<p> should be something above </p>
</body>
</html>