" . mysqli_error($conn); } else { echo "

Student number $user[$index] added.

"; } } else { echo "

Student number $user[$index] already exists.

"; } } //返回按钮 echo "
"; //释放缓存 $result->free(); //中断连接 mysqli_close($conn); ?>