Guest User

Untitled

a guest
May 16th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. <?php
  2.  
  3. $db = mysqli_connect("localhost", "", "root", "crud");
  4.  
  5. if (!$db) {
  6. echo "Failed to connect to MySQL: " . mysqli_connect_error();
  7. }
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment