Guest User

Untitled

a guest
Jun 11th, 2018
110
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. // mysql.php
  4.  
  5. // Defining variables
  6. $server = "localhost";
  7. $db = "kristof3_maindb";
  8. $username = "*******";
  9. $password ="*******";
  10.  
  11. // Connecting to the MySQL database
  12. $link = mysql_connect($server, $username, $password);
  13. // Selecting database
  14. mysql_select_db($db, $link);
  15.  
  16.  
  17. ?>
Add Comment
Please, Sign In to add comment