0
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 Everywhere I look it 告诉我这是因为空变量,但打印 $name 告诉我它不是空的!我完全迷路了!

4

0 回答 0