Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Copyright (C) Mark Chisholm <http://morpheusarch.co.uk> 09-11-2015 (DD-MM-YYYY)
- All rights reserved. Permission granted to freely redistribute and update
- as long as this Copyright notice is preserved. No warranty expressed or
- implied.*/
- <?php
- $link = mysql_connect('localhost', 'account', 'password'); /*replace "account" & "password" with the details of MySQL Database this will not show up in browsers*/
- if (!$link){
- die('Could not connect: ' .mysql_error());
- }
- echo 'connected successfully';
- ?>
- mysql_close($link);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement