Yami Odymel https://invade.tw/ says to YSITD $db->prepare("SELECT time FROM email_verify WHERE email=:to ORDER BY id DESC LIMIT 1"); $db->where('email', $to) ->orderBy('id', 'DESC') ->getOne('email_verify', ['time'])