From 3e9138a9ec713c599fc606a2f6dd8614090246e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alec=20H=C3=B6fler?= Date: Wed, 18 May 2022 14:15:51 +0200 Subject: [PATCH] using UTF-8 Encoded Charset for MySQL Database Querys --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 5b5f440..684ab44 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ try { echo 'Exception abgefangen: ', $ex->getMessage(), "\n
"; } +$pdo->exec("SET NAMES utf8"); //Primary SQL Statement $statement = $pdo->prepare("SELECT zf_bap_orders.*,zbs.name as zbs_name,zbc.code as zbc_code, zbc.discount_price as zbc_discount