此函数是该函数的别名: mysqli::__construct()
hudavilas at hotmail dot com (2013-04-08 22:52:17)
// Create connection
$con=mysqli_connect("localhost","root","","gts");
// Check connection
if (mysqli_connect_errno($con))
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
} else { echo "Connection was OK!\n";}