Created
February 13, 2016 18:24
-
-
Save moon-goon/6da9660237ffb98bd51a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('DB_USER','username'); | |
define('DB_PASSWORD','password'); | |
define('DB_HOST','localhost'); | |
define('DB_NAME','dbname'); | |
$db_connect = @mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME) or die | |
('Could not connect to MYSQL '. mysqli_connect_error()); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment