Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $conn_error = 'Could not connect.'; //If database can't connect, this error wil show up
- $mysql_host = '31.186.171.12';
- $mysql_user = 'glennlignel_user';
- $mysql_pass = 'Win$4ever';
- $mysql_db = 'glennlignel_world-exploration';
- //$mysql_host = 'localhost';
- //$mysql_user = 'root';
- //$mysql_pass = '';
- //$mysql_db = 'calpeplaya';
- $db = new mysqli($mysql_host, $mysql_user, $mysql_pass, $mysql_db);
- if (mysqli_connect_errno()){
- die($conn_error);
- } else{
- echo "conncted";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement