Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php
  2. $servername = "localhost";
  3. $username = "your username";
  4. $password = "your password";
  5.  
  6. $conn = new mysqli($servername, $username, $password);
  7.  
  8. if($conn->connect_error)
  9. {
  10. die("Connection failed:" . $conn->connect_error);
  11. }
  12. echo "Connection successfully";
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement