Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $db_hostname = 'localhost';
- $db_database = 'testdb';
- $db_username = 'root';
- $db_password = '';
- /* Do not edit the code below if you do not know what you're doing */
- $db_server = mysqli_connect($db_hostname, $db_username, $db_password)
- or die("Failed to connect to MySQL Database: ".mysql_error());
- mysql_select_db($db_database)
- or die("Unable to select the defined database: ".mysql_error());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement