Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2.  
  3. $host = "Host";
  4. $user = "Nutzer";
  5. $password = "Passwort";
  6. $db = "/";
  7.  
  8. $connection = mysqli_connect($host, $user, $password);
  9. if($connection){
  10. if(mysqli_select_db($db) ) {
  11. echo "<br />"; mysql_error($connection);
  12. }
  13. }
  14. else{
  15. echo "<br />"; mysql_error($connection);
  16. }
  17.  
  18.  
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement