Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //FILE NAME "db.php"
- ############################
- # Connect to DB V.2
- ############################
- $username="user";
- $password="abc123";
- $database="your_db_name";
- mysql_connect($host,$username,$password);
- mysql_select_db($database) or die( "Unable to select database");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement