Advertisement
Guest User

Untitled

a guest
Jan 28th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $username = "your_name";
  3. $password = "your_password";
  4. $hostname = "localhost";
  5.  
  6. //connection to the database
  7. $dbhandle = mysql_connect($hostname, $username, $password)
  8. or die("Unable to connect to MySQL");
  9. echo "Connected to MySQL<br>";
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement