SHARE
TWEET

Untitled

PAIZAOgro Jun 15th, 2017 20 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     class DB{
  3.         public function conectar(){
  4.             $host="localhost";
  5.             $user="root";
  6.             $pass="vertrigo";
  7.             $dbname="sistemadhl";
  8.            
  9.             $conexao=mysql_connect($host,$user,$pass);
  10.             $selectdb=mysql_select_db($dbname);
  11.            
  12.             return $conexao;
  13.         }
  14.     }
  15.  
  16.  
  17. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top