Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $DB_HOST = 'mysql8.000webhost.com';
- $DB_USER = 'a1142635_root';
- $DB_PASS = 'root123';
- $DB_NAME = 'a1142635_test';
- $conn = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- //echo "Connected successfully";
- ?>
Add Comment
Please, Sign In to add comment