Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- try{
- $db = new PDO("pgsql:dbname=pdo;host=localhost","root","secret");
- echo "Koneksi Database PDO berhasil"
- }
- catch(PDOException $e){
- echo $e->getMessage();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement