Advertisement
Guest User

Untitled

a guest
Jun 4th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2.  
  3. $mysql_hostname = "Host name";
  4. $mysql_user = "UserName";
  5. $mysql_password = "Password";
  6. $mysql_database = "Database Name";
  7. $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database");
  8. mysql_select_db($mysql_database, $bd) or die("Could not select database");
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement