php/heslo/lib/nastaveni.php
author František Kučera <franta-hg@frantovo.cz>
Wed May 06 00:45:14 2009 +0200 (2009-05-06)
changeset 7 2eabaf935926
parent 4 e6abafe31efb
permissions -rwxr-xr-x
zjednodušení nastavení
franta-hg@3
     1
<?php
franta-hg@3
     2
franta-hg@4
     3
$db = new PDO("pgsql:host=localhost;dbname=veverka", "php_zmena_hesla", "*****************");
franta-hg@3
     4
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
franta-hg@3
     5
franta-hg@3
     6
?>