degree459

Untitled

Apr 11th, 2016
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. $servername = "mysql.hostinger.in";
  5. $username = "u327231231_root";
  6. $password = "laptophpg65";
  7. $dbname = "u327231231_data";
  8.  
  9.  
  10.  
  11. $conn = new mysqli($servername, $username, $password, $dbname);
  12. if ($conn->connect_error) {
  13. die("Connection failed: " . $conn->connect_error);
  14.  
  15.  
  16.  
  17.  
  18.  
  19. }
  20.  
  21.  
  22. ?>
Add Comment
Please, Sign In to add comment