Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?
  2. $db_host = "localhost";
  3. // Place the username for the MySQL database here
  4. $db_username = "390751_xxx";  
  5. // Place the password for the MySQL database here
  6. $db_pass = "xxx";  
  7. // Place the name for the MySQL database here
  8. $db_name = "xxx_xxx";
  9.  
  10. // Run the actual connection here  
  11. mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect to mysql");
  12. mysql_select_db("$db_name") or die ("no database");              
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement