Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. <?php
  2. $mysql_host = "sql305.byethost7.com";
  3. $mysql_database = "database_name"; //if needed
  4. $mysql_user = "username";
  5. $mysql_password = "password";
  6.  
  7. $con = mysql_connect($mysql_host, $mysql_user, $mysql_password);
  8. if (!$con)
  9.   {
  10.   die('Could not connect: ' . mysql_error());
  11.   }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement