Help for this page

Select Code to Download


  1. or download this
    $dbh = DBI->connect("dbi:Pg:dbname=$dbname;host=$host;port=$port;optio
    +ns=$options",
        $username,
        $password,
        {AutoCommit => 0, RaiseError => 1, PrintError => 0}
        );   );
    
  2. or download this
    my$dbh = DBI->connect("DBI:Pg:dbname=five;port=5432", 
    'postgres',
    '',
    { RaiseError => 1, AutoCommit => 0 }) or die "kon de database niet ope
    +nen!";