Check
fetch(PDO::FETCH_ASSOC)) { $timeResult = millis_to_date($row['time']); $expiresResult = millis_to_date($row['until']); ?>