Skip to content

Instantly share code, notes, and snippets.

@leonirlopes
Forked from mariuz/pdo_example_firebird.php
Created September 12, 2017 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leonirlopes/1722d703cbf0d6081365da0fbd6419eb to your computer and use it in GitHub Desktop.
Save leonirlopes/1722d703cbf0d6081365da0fbd6419eb to your computer and use it in GitHub Desktop.
pdo connection example for firebird driver http://www.php.net/manual/en/ref.pdo-firebird.connection.php
<?php
$str_conn="firebird:host=localhost;dbname=/var/lib/firebird/2.5/data/employee.fdb;charset=UTF8";
$dbh = new PDO($str_conn, "sysdba", "masterkey");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment