Advertisement
Guest User

Untitled

a guest
Feb 10th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?php
  2. $servername = 'localhost';
  3. $username = 'congreso_BD';
  4. $password = 'congreso_BD_password';
  5. $dbname = 'bd_congreso';
  6. // Create connection
  7. $conn = new mysqli($servername, $username, $password, $dbname);
  8. // Check connection
  9. if ($conn->connect_error) {
  10. die("Connection failed: " . $conn->connect_error);
  11. }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement