-
Database help needed
$crishn = mysql_connect($db_host, $db_user, $db_pass);
$crashn = mysql_select_db($db_name);
I have to change the above but not sure what is what , can anyone help ??
my database name - atencorps
username-Minolta
pass-Sandy
atencorp_atencorps.
I believe I should just delete "name" and replace with "atencorps"
I believe I should just delete "user" and replace with "minolta"
I believe I should just delete "pass " and replace with "sandy"
is that correct ?? also what goes in the section "Host " ??
-
$db_host will more than likely be "localhost". In some cases, it's not (with Godaddy, for example), but that's usually what it is. If that doesn't work, you'll have to contact your host...
-
Code:
$db_host="localhost"; //Or IP Address of your server
$db_user = "Minolta";
$db_pass = "Sandy";
$db_name = "atencorps";
$crishn = mysql_connect($db_host, $db_user, $db_pass);
$crashn = mysql_select_db($db_name);