From ba82e25456c06304dd77013bcb94779c9901cf6d Mon Sep 17 00:00:00 2001 From: John A Costa III Date: Tue, 6 Dec 2016 18:17:29 -0500 Subject: [PATCH] Update Report_Sales.php --- adminPages/Report_Sales.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/adminPages/Report_Sales.php b/adminPages/Report_Sales.php index aa26aea..2805faa 100644 --- a/adminPages/Report_Sales.php +++ b/adminPages/Report_Sales.php @@ -16,10 +16,13 @@ require("../commonFunctions.php"); prepare($query); - $stmt ->bind_param("ds", $_GET['Category'], $ProductName); //Bind category to query, category is taken in as CategoryID, so it's a digit + $stmt ->bind_param("dssd", $_GET['Category'], $ProductName, $SupplierName, $_GET['InStock']); //Bind category to query, category is taken in as CategoryID, so it's a digit $stmt ->execute(); $searchResult = $stmt->get_result(); //Get results @@ -47,6 +50,10 @@ require("../commonFunctions.php"); + + + +