显示一些错误
<?php
session_start();
$hostname = "localhost";
$username = "root";
$password = "";
$dbname = "student_information_management";
$con = mysqli_connect($hostname, $username, $password) or die(mysqli_connect_error());
if ($con) {
mysqli_select_db($dbname) or die(mysqli_connect_error());
}
这是警告我警告:mysqli_select_db()恰好需要2个参数,第9行的C:\ xampp \ htdocs \ std_management_system \ config.php中给出了1个参数
慕沐林林