标签: php mysqli
代码:
$connection= @new mysqli($ip, $user, $password); if (!$connection) { $connection->select_db($db); $connection->set_charset("utf8"); }
为什么这是正确的而不是if ($connection)?
if ($connection)