--- a/displaySupplier.php +++ b/displaySupplier.php @@ -3,8 +3,10 @@ include_once ("./lib/common.inc.php"); if ($_REQUEST['supplier']) { - include_header("Supplier"); $supplierS = htmlentities(strip_tags($_REQUEST['supplier'])); + include_header(str_replace("%","",$supplierName)); +echo '

'.str_replace("%","",$supplierName).'

'; + // MethodCountGraph($supplierS); // CnCGraph($supplierS); // MethodValueGraph($supplierS); @@ -24,7 +26,7 @@ FROM contractnotice WHERE ' . $supplierQ . ' ' . $standardQ . ' ORDER BY value DESC'; - echo $query; + $query = $conn->prepare($query);