<?php
// FILE: protect_database_escaping.php
ini_set('display_errors', 1);
date_default_timezone_set('Europe/London');
include 'protect_database_mysqli_real_escape_string.php';
include 'protect_database_pdo_quote.php';
?>
<!DOCTYPE html>
<html>
<head>
<style>
td { border: thin solid black; }
th { border: thin solid black; font-weight: bold; }
</style>
<meta charset="UTF-8">
<title>Protect Database</title>
</head>
<body>
<h1>protect_database_mysqli_real_escape_string.php</h1>
<hr />
<?php echo $outputMysqli; ?>
<br />
<br />

<h1>protect_database_pdo_quote.php</h1>
<hr />
<?php echo $outputPdo; ?>
<br />
<br />

</body>
</html>
