print_r($name);
$results = $db->query('
SELECT `field_value`,`user_id`
FROM `xf_user_field_value`
WHERE field_value = "'.$name.'"
');
$storedtime = $db->query('
SELECT `last_donation_date`
FROM `merc_donor`
WHERE last_donation_date = '.$time.'
');
$info = mysqli_fetch_array($results);
它给我的错误是mysqli_fetch_array() expects parameter 1 to be mysqli_result, object given
无处不在我看它告诉我这是因为null变量,但打印$ name out告诉我它不是null!我完全失去了!