Guest User

Untitled

a guest
Aug 19th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2. $hostname = "localhost";
  3. $username = "root";
  4. $password = "";
  5. $dbName = "forum";
  6. mysql_connect($hostname,$username,$password) OR DIE("Не могу создать соединение");
  7.  
  8. mysql_select_db($dbName) or die(mysql_error());
  9. mysql_close();
  10. ?>
Add Comment
Please, Sign In to add comment