Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. <?php
  2. $link = mysql_connect('localhost', 'user', 'password');
  3. if (!$link) {
  4. echo "Fail!<br>" . mysql_error();
  5. } else {
  6. echo "Succ!<br>";
  7. }
  8. mysql_close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement