Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
81
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. ini_set("display_errors", true);
  3. error_reporting( E_ALL );
  4. $con_hostname = "";
  5. $con_username = "";
  6. $con_password = "";
  7. $con_database = "";
  8. $conn = new mysqli($con_hostname, $con_username, $con_password, $con_database);
  9.  
  10. /* check connection */
  11. if ($conn ->connect_error) {
  12. die("Connection failed: " . $conn->connect_error);
  13. }
  14. echo "Connected successfully";
  15. ?>
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement