Advertisement
Guest User

Untitled

a guest
May 21st, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $username = "user";
  4. $password = "pass";
  5. $database = "db";
  6. $con = mysql_connect($host,$username,$password);
  7. mysql_select_db($database, $con) or die(mysql_error());
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement