Hadi1989

Untitled

Jul 10th, 2018
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. <?php
  2.     $conn = new mysqli('localhost', 'root', '', 'db_check');
  3.    
  4.     if(!$conn){
  5.         die("Error: Can't connect to database!");
  6.     }
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment