Advertisement
Guest User

Untitled

a guest
May 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. function connetti(){
  2.     include_once("config.php");
  3.     echo "host=$host user=$user password=$pass dbname=$dbname";
  4.     return pg_connect("host=$host user=$user password=$pass dbname=$dbname")or die("Cannot connect");
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement