Created
November 9, 2018 00:25
-
-
Save hquach/e9e58c8ac25d8710f5ecf224baffa275 to your computer and use it in GitHub Desktop.
This file contains 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 | |
$host = ""; /* Host name */ | |
$user = ""; /* User */ | |
$password = ""; /* Password */ | |
$dbname = ""; /* Database name */ | |
$con = mysqli_connect($host, $user, $password,$dbname); | |
// Check connection | |
if (!$con) { | |
die("Connection failed: " . mysqli_connect_error()); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment