Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. $db_host = "localhost";
  2. $db_username = "user";
  3. $db_pass = "pass";
  4. $db_name = "table";
  5.  
  6. @mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect to mysql");
  7. @mysql_select_db("$db_name") or die ("no database");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement