📅  最后修改于: 2022-03-11 15:04:55.329000             🧑  作者: Mango
// Connect to mysqli database
$connection = mysqli_connect('localhost', 'root', '', 'test');
// OR with a P@$$w0rd
$connection = mysqli_connect('localhost', 'root', 'P@$$w0rd', 'test');