Code:
<?php /// For the following details, /// please contact your server vendor $hostname='localhost'; //// specify host, i.e. 'localhost' $user='server username'; //// specify username $pass='server pass'; //// specify password $dbase='mysql db'; //// specify database name $connection = mysql_connect("$localhost"