Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $localhost = "localhost";
- $mysql_user = "root";
- $mysql_pass = "";
- $database = "";
- $link = mysql_connect($localhost, $mysql_user, $mysql_pass);
- if (!$link) {
- die('Verbindung schlug fehl: ' . mysql_error());
- }
- mysql_select_db($database, $link);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement