Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php
  2. $username = "root";
  3. $password = "";
  4. $database = "forum";
  5.  
  6. mysql_connect(”localhost”, $username, $password)or die(”cannot connect.);
  7. mysql_select_db($database)or die(”cannot find database.);
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement