note 117915 added to ref.pdo-pgsql.connection
| From: | fandi | Date: | Tue, 01 Sep 2015 07:25:16 +0000 |
| Subject: | note 117915 added to ref.pdo-pgsql.connection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203551@lists.php.net to get a copy of this message | ||
We can also alternatively put the username and password in the second and third argument of
PDO::__construct()
<?php
$dbh = new PDO("pgsql:dbname=$dbname;host=$host", $dbuser, $dbpass);
?>
----
Server IP: 72.52.91.14
Probable Submitter: 36.68.179.87
----
Manual Page -- http://php.net/manual/en/ref.pdo-pgsql.connection.php
Edit -- https://master.php.net/note/edit/117915
Del: integrated -- https://master.php.net/note/delete/117915/integrated
Del: useless -- https://master.php.net/note/delete/117915/useless
Del: bad code -- https://master.php.net/note/delete/117915/bad+code
Del: spam -- https://master.php.net/note/delete/117915/spam
Del: non-english -- https://master.php.net/note/delete/117915/non-english
Del: in docs -- https://master.php.net/note/delete/117915/in+docs
Del: other reasons-- https://master.php.net/note/delete/117915
Reject -- https://master.php.net/note/reject/117915
Search -- https://master.php.net/manage/user-notes.php