Advertisement
Guest User

Untitled

a guest
Sep 21st, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. $dbname="fcm";
  2. $servername="localhost"
  3. $username = "root";
  4. $password = "";
  5. $conn = new mysqli($servername, $username, $password, $dbname);
  6. // Check connection
  7. if ($conn->connect_error) {
  8. die("Connection failed: " . $conn->connect_error);
  9. }
  10. else
  11. $conn->query($sql);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement