Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set("display_errors", true);
- error_reporting( E_ALL );
- $con_hostname = "";
- $con_username = "";
- $con_password = "";
- $con_database = "";
- $conn = new mysqli($con_hostname, $con_username, $con_password, $con_database);
- /* check connection */
- if ($conn ->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- echo "Connected successfully";
- ?>
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement