Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost";
- $username = "teststudent2022";
- $password = "teststudent";
- $db = "teststudent2022_testdatabase";
- $conn = mysqli_connect ($servername, $username, $password, $db);
- if (!$conn) {
- die ("Connection failed: = " . mysqli_connect_error());
- }
- echo "connected successfully <br>";
- mysqli_close($conn);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement