Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost"; //replace it with your database server name
- $username = "samsci"; //replace it with your database username
- $password = "scumpa98"; //replace it with your database password
- $dbname = "my_samsci";
- // Create connection
- $conn = mysqli_connect($servername, $username, $password, $dbname);
- // Check connection
- if (!$conn) {
- die("Connection failed: " . mysqli_connect_error());
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement