Advertisement
Guest User

Untitled

a guest
Aug 19th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2. $hostName = 'localhost';
  3. $userName = 'root';
  4. $password = '';
  5. $dbName = 'test';
  6. mysql_connect($hostName,$userName,$password) or die('Database could
  7. not connected');
  8. mysql_select_db($dbName) or die('Database could not found');
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement