Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = '127.0.0.1';
- $user = '';
- $password = '';
- $database = '';
- $connect= mysqli_connect($host,$user,$password,$database);
- if(mysqli_connect_errno()){
- die("can't contact database");
- }
- else {
- echo 'database connectd ';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement