我试图从两个表中获取数据:
$con = getDbConnect();
$edit = $_GET['edit'];
if (mysqli_connect_errno($con)) {
"Failed to connect to MySQL: " . mysqli_connect_error();
} else {
$result = mysqli_query($con, "SELECT * FROM admininfo where email='" . $edit . "'");
$results = mysqli_query($con, "SELECT * FROM adminaccount where email='" . $edit . "'");
while ($admininfo = mysqli_fetch_array($result, $results)) {