mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-15 18:23:58 +02:00
@@ -109,10 +109,11 @@ $handle->execute();
|
|||||||
// Store the result into an object that we'll output later in our HTML
|
// Store the result into an object that we'll output later in our HTML
|
||||||
$result = $handle->fetchAll(\PDO::FETCH_OBJ);
|
$result = $handle->fetchAll(\PDO::FETCH_OBJ);
|
||||||
|
|
||||||
header('Content-Type: text/html; charset=utf-8');
|
header('Content-Type: text/html; charset=UTF-8');
|
||||||
?><!doctype html>
|
?><!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
<title>UTF-8 test page</title>
|
<title>UTF-8 test page</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user