Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. $db = new mysqli($config['db_host'], $config['db_user'], $config['db_pass'], $config['db_name']);
  2.  
  3. if ($db->errno) {
  4. die ('<p class="error">Nie udało się połączyć z bazą danych.</p>');
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement