Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost";
- $username = "root";
- $password = "";
- $dbname = "ezsecurity";
- $con = mysqli_connect($host, $username, $password, $dbname);
- $con-> set_charset("utf8");
- if(mysqli_connect_errno()){
- echo "Failed to connect to MySQL: ". mysqli_connect_error();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement