using UTF-8 Encoded Charset for MySQL Database Querys
This commit is contained in:
parent
ac3fa76635
commit
3e9138a9ec
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ try {
|
||||||
echo 'Exception abgefangen: ', $ex->getMessage(), "\n<br/>";
|
echo 'Exception abgefangen: ', $ex->getMessage(), "\n<br/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$pdo->exec("SET NAMES utf8");
|
||||||
|
|
||||||
//Primary SQL Statement
|
//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
|
$statement = $pdo->prepare("SELECT zf_bap_orders.*,zbs.name as zbs_name,zbc.code as zbc_code, zbc.discount_price as zbc_discount
|
||||||
|
|
Loading…
Reference in a new issue