Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost";
- $username = "root";
- $password = "";
- $db_name = "quiz";
- // Create connection
- $conn = mysqli_connect($host, $username, $password, $db_name);
- if($conn)
- {
- }
- // Check connection
- else if (!$conn)
- {
- mysqli_connect_error();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement