rodrigosantosbr

php test

Jun 28th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. <?php
  2.     $connection = pg_connect ("host=localhost dbname=postgres user=postgres password=abcd1234");
  3.     if($connection) {
  4.        echo 'connected';
  5.     } else {
  6.         echo 'there has been an error connecting';
  7.     }
  8. ?>
Add Comment
Please, Sign In to add comment