我需要为我要上传的代码创建一个测试文件。
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
} else {
//echo "<Strong>Connection Successful</Strong>", "<br>" ;
}
?>
你能帮我为这个php代码创建一个测试文件吗?