<?php
$mysqli = new mysqli("localhost", "root", "123456");
if(!$mysqli) {
echo "database error";
}else{
echo "php env successful";
}
$mysqli->close();
?>
<?php
$mysqli = new mysqli("localhost", "root", "123456");
if(!$mysqli) {
echo "database error";
}else{
echo "php env successful";
}
$mysqli->close();
?>