Advertisement
EBO96

init.php

May 4th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.     $host = "mysql.cba.pl";
  3.     $user = "learneverything";
  4.     $password = "sebos3maj96rok";
  5.     $db = "learneverything";
  6.    
  7.     $con = mysqli_connect($host, $user, $password, $db);
  8.    
  9.     if(!$con){
  10.         die("Error in connection: ". mysqli_connect_error);
  11.     }
  12.     else{
  13.         echo "<br><h3>Connection Success</h3>";
  14.     }
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement