PHP+Mysql DB connection script

<?php
$link = mysql_connect(‘localhost’, ‘mysql_user’, ‘mysql_password’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
echo ‘Connected successfully’;
mysql_close($link);
?>


PHP+Mysql DB connection script, Hostripples Web Hosting
HR-ADMIN