Skip to content
Permalink
6cb5995642
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (26 sloc) 908 Bytes
<?php
require("../dbCon.php");
require("../commonFunctions.php");
?>
<html>
<head>
<link rel="stylesheet" href="../style.css">
</head>
<body>
<div id="header">
<?php writeMenuAdm(basename($_SERVER['PHP_SELF'])); ?>
</div>
<div id='contentwrapper'>
<h1>Active orders</h1>
<hr>
<?php
$sql = "SELECT * FROM northwind.`orders qry` WHERE EmployeeID is null ORDER BY RequiredDate ASC;";
if (!$result = $con->query($sql)){}
$trArgs = array("onclick=\"window.document.location='ViewOrder.php?orderID=%OrderID%'\"",
array('%OrderID%' => 'OrderID')
);
makeTable($result, $trArgs);
?>
</div>
</body>
</html>