Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $link = mysql_connect('localhost', 'user', 'password');
- if (!$link) {
- echo "Fail!<br>" . mysql_error();
- } else {
- echo "Succ!<br>";
- }
- mysql_close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement