Advertisement
Guest User

Untitled

a guest
Dec 17th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <?php
  2.  
  3. $sname = "localhost";
  4. $uname = "root";
  5. $password = "";
  6.  
  7. $db_name = "sitesurvey";
  8.  
  9. $conn = mysqli_connect($sname, $uname, $password, $db_name);
  10.  
  11. if (!$conn){
  12. echo "Connection Failed!";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement