From bc56221b973bed38e40b8e2e37ab409e61aa548d Mon Sep 17 00:00:00 2001 From: John A Costa III Date: Tue, 6 Dec 2016 18:08:13 -0500 Subject: [PATCH] Update Report_Sales.php productname added --- adminPages/Report_Sales.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/adminPages/Report_Sales.php b/adminPages/Report_Sales.php index 25cb6cf..0c208d0 100644 --- a/adminPages/Report_Sales.php +++ b/adminPages/Report_Sales.php @@ -15,9 +15,11 @@ require("../commonFunctions.php");
prepare($query); - $stmt ->bind_param("d", $_GET['Category']); //Bind category to query, category is taken in as CategoryID, so it's a digit + $stmt ->bind_param("ds", $_GET['Category'], $ProductName); //Bind category to query, category is taken in as CategoryID, so it's a digit $stmt ->execute(); $searchResult = $stmt->get_result(); //Get results