Created
July 10, 2018 11:51
-
-
Save zartgesotten/edc5100168df288da52988c7796b8878 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 | |
| $servername = "servername"; | |
| $database = "dxxxxxxx"; | |
| $username = "dxxxxxxx"; | |
| $password = "password"; | |
| // Create connection | |
| $conn = new mysqli($servername, $username, $password); | |
| // Check connection | |
| if ($conn->connect_error) { | |
| die("Connection failed: " . $conn->connect_error); | |
| } | |
| echo "Connected successfully"; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment