It's a better more secure (hopefully) coalfax, NOT MADE IN WORDPRESS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
291 B

  1. <?php
  2. $servername = "localhost";
  3. $username = "root";
  4. $password = "";
  5. $dbname = "coalfax";
  6. $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);
  7. $conn->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
  8. $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);