$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;
}
$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;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货