are you missing a semi colon after 'pass' ?
justinl
2009-12-29 04:27:22
you are missing ; after pass and use following syntax
$db_host=" "; //the host name of the sql server (if you do not know, leave as localhost. usually works)
$db_name=" "; //the name of the database
$db_user=" "; //the username that is associated with the database
$db_pass=" "; //the password for the username
$dbc=mysql_connect($db_host,$db_user,$db_pass) OR DIE (mysql_error());
$dbs=mysql_select_db($db_name) OR DIE (mysql_error());