daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.     include_once "dbconnect.php";
  4.  
  5.     try {
  6.            
  7.             $conn = new mysqli($host, $user, $pass, $db);
  8.             if ($conn->connect_errno!=0)
  9.             {
  10.                 throw new Exception(mysqli_connect_errno());
  11.             }
  12.        
  13.     } catch() {
  14.             echo "Błąd połączenia!";
  15.     }
  16.  
  17. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top