Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class DB{
- public function conectar(){
- $host="localhost";
- $user="root";
- $pass="vertrigo";
- $dbname="sistemadhl";
- $conexao=mysql_connect($host,$user,$pass);
- $selectdb=mysql_select_db($dbname);
- return $conexao;
- }
- }
- ?>
Add Comment
Please, Sign In to add comment