Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function dbConnect(){
- $hostname = 'localhost';
- $username = 'tbcj857';
- $mysql_pass = 'm2d59';
- $database = 'tbcj857';
- $conx = mysql_connect ($hostname , $username ,
- $mysql_pass) or die ("Can't connect to MySQL" .
- mysql_error() );
- mysql_select_db ($database) or die
- ("Can't select that database" . msql_error() );
- return $conx;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement