Hello.. In the following code i would like to know what i am supposed to type as my username and password ? Or how can i set that values? ?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } ?>
$localhost = Instance of your DB (Ex: example.com:3307) $username = your user name for mysql $password = your password for mysql $con = mysql_connect($localhost,$username,$password); I suppose this is what you are asking for
mysql_connect("localhost", "username", "password"); replace "username" and "password" with the username and password for ur SQL DB