Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql Ver 14.14 Distrib 5.7.16
- PHP 7.1.0-5+deb.sury.org~xenial+1
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "password";
- echo "yess";
- // Create connection
- $conn = new mysqli($servername, $username, $password,"loginsystem");
- echo "hw";
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- echo "Connected succesfully";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement