Guest User

Untitled

a guest
Feb 9th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2.  
  3. $servername = 'localhost';
  4. $username = 'root';
  5. $password = '';
  6. $database = 'php_zadaca_3';
  7.  
  8. $connection = mysqli_connect($servername, $username, $password, $database);
  9.  
  10. if(!connection) {
  11.    
  12.     die('Database error');
  13. }
  14.  
  15.  
  16.  
  17.  
  18.  
  19. ?>
Add Comment
Please, Sign In to add comment