Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL & ~(E_STRICT|E_NOTICE));
- $host = 'localhost';
- $user = 'root_user_name';
- $password = 'root_user_pass';
- $db = 'my_database';
- $cxn = mysqli_connect($host,$user,$password) or
- die(mysqli_connect_error()); // <<<<<< line 9
- mysqli_select_db($cxn, $db ) or die(mysqli_connect_error());
- die('test');
- $host = '51.51.51.51'; // <<<< just a fake IP address for the example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement