daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Jan 28th, 2016 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.     <head>
  3.         <title></title>
  4.     </head>
  5.     <body>
  6.     <?php
  7.     //Daten für die Verbindung in Variablen speichern
  8. $server="localhost";
  9. $username="edv149";
  10. $password="Mx19305.";
  11. $database="test"; //vorher stand edv222, komisch
  12.  
  13. //MySQLi-Verbindung herstellen
  14. $conn=mysqli_connect($server,$username,$password,$database)or die("Keine Verbindung zur Datenbank.");
  15.  
  16. //Datenbank auswählen
  17. mysqli_select_db($conn,$database)or die "Datenbank konnte nicht ausgewählt werden.");
  18.     ?>
  19.     </body>
  20. </html>
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top