Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "";
- $db_name = "newspaper";
- $conn = mysqli_connect($servername, $username, $password, $db_name);
- if(!$conn){
- die("connection failed: " . mysqli_connect_errno());
- }
- //echo 'Connection Successfully';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement