Browse Source

Disable emulated prepares

master
CoalfaxRevamped 1 year ago
parent
commit
f6a3f96ae3
  1. 1
      connect.php

1
connect.php

@ -5,4 +5,5 @@ $password = "";
$dbname = "coalfax";
$conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);
$conn->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Loading…
Cancel
Save