$host="localhost";//host name
$user_database="sa";//database user name
$password_database="accp";//database password
$name_database="commerce";//database name
$conn=mysql_pconnect($host,$user_database,$password_database) or die(mysql_error());if(!@mysql_select_db($name_database)){
echo "<strong>Warning:</strong> The database name is not exist!";
exit;
}