标签: php
$BirthdayResult = $db->query("SELECT * FROM Users WHERE DATE_ADD(BirthDate, INTERVAL YEAR($date)-YEAR(BirthDate) YEAR) BETWEEN $date AND DATE_ADD($date, INTERVAL 0 DAY)");
嘿。 代码有什么问题?我尝试向用户展示所有生日。