Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $connection = pg_connect ("host=localhost dbname=postgres user=postgres password=abcd1234");
- if($connection) {
- echo 'connected';
- } else {
- echo 'there has been an error connecting';
- }
- ?>
Add Comment
Please, Sign In to add comment