Guest User

Untitled

a guest
Jan 16th, 2018
776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. $servername = "localhost";
  2. $username = "username";
  3. $password = "password";
  4.  
  5. $conn = new mysqli($servername, $username, $password);
  6.  
  7. if ($conn->connect_error) {
  8. die("Fallo la conexion: " . $conn->connect_error);
  9. }
  10.  
  11. echo "Conexion correcta";
Add Comment
Please, Sign In to add comment